Gjsify LogoGjsify Logo

Hierarchy

  • SourceView

Index

Constructors

Properties

Methods

Constructors

Properties

acceptsTab: boolean
appPaintable: boolean
autoIndent: boolean
backForwardList: Ide.BackForwardList
backgroundPattern: GtkSource.BackgroundPatternType

Draw a specific background pattern on the view.

borderWidth: number
bottomMargin: number

The bottom margin for text in the text view.

Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.

Don't confuse this property with #GtkWidget:margin-bottom.

buffer: Gtk.TextBuffer
canDefault: boolean
canFocus: boolean
child: Gtk.Widget
completion: GtkSource.Completion

The completion object associated with the view

compositeChild: boolean
count: number
cursorVisible: boolean
doubleBuffered: boolean

Whether the widget is double buffered.

drawSpaces: DrawSpacesFlags

Set if and how the spaces should be visualized.

For a finer-grained method, there is also the GtkSourceTag's #GtkSourceTag:draw-spaces property.

editable: boolean
enableWordCompletion: boolean
events: Gdk.EventMask
expand: boolean

Whether to expand in both directions. Setting this sets both #GtkWidget:hexpand and #GtkWidget:vexpand

fileSettings: FileSettings
focusOnClick: boolean

Whether the widget should grab focus when it is clicked with the mouse.

This property is only relevant for widgets that can take focus.

Before 3.20, several widgets (GtkButton, GtkFileChooserButton, GtkComboBox) implemented this property individually.

fontDesc: FontDescription
fontName: string
gTypeInstance: TypeInstance
hadjustment: Gtk.Adjustment

Horizontal #GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.

halign: Gtk.Align

How to distribute horizontal space if widget gets extra space, see #GtkAlign

hasDefault: boolean
hasFocus: boolean
hasTooltip: boolean

Enables or disables the emission of #GtkWidget::query-tooltip on widget. A value of %TRUE indicates that widget can have a tooltip, in this case the widget will be queried using #GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

Note that setting this property to %TRUE for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to %FALSE again.

heightRequest: number
hexpand: boolean

Whether to expand horizontally. See gtk_widget_set_hexpand().

hexpandSet: boolean

Whether to use the #GtkWidget:hexpand property. See gtk_widget_get_hexpand_set().

highlightCurrentLine: boolean
hscrollPolicy: Gtk.ScrollablePolicy

Determines whether horizontal scrolling should start once the scrollable widget is allocated less than its minimum width or less than its natural width.

imModule: string

Which IM (input method) module should be used for this text_view. See #GtkIMContext.

Setting this to a non-%NULL value overrides the system-wide IM module setting. See the GtkSettings #GtkSettings:gtk-im-module property.

indent: number
indentOnTab: boolean
indentStyle: IndentStyle
indentWidth: number

Width of an indentation step expressed in number of spaces.

indenter: Ide.Indenter
inputHints: Gtk.InputHints

Additional hints (beyond #GtkTextView:input-purpose) that allow input methods to fine-tune their behaviour.

inputPurpose: Gtk.InputPurpose

The purpose of this text field.

This property can be used by on-screen keyboards and other input methods to adjust their behaviour.

insertMatchingBrace: boolean
insertSpacesInsteadOfTabs: boolean
isFocus: boolean
justification: Gtk.Justification
leftMargin: number

The default left margin for text in the text view. Tags in the buffer may override the default.

Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.

Don't confuse this property with #GtkWidget:margin-left.

margin: number

Sets all four sides' margin at once. If read, returns max margin on any side.

marginBottom: number

Margin on bottom side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginEnd: number

Margin on end of widget, horizontally. This property supports left-to-right and right-to-left text directions.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginLeft: number

Margin on left side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginRight: number

Margin on right side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginStart: number

Margin on start of widget, horizontally. This property supports left-to-right and right-to-left text directions.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

marginTop: number

Margin on top side of widget.

This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

modeDisplayName: string
monospace: boolean
name: string
noShowAll: boolean
opacity: number

The requested opacity of the widget. See gtk_widget_set_opacity() for more details about window opacity.

Before 3.8 this was only available in GtkWindow

overscroll: number
overwrite: boolean
overwriteBraces: boolean
parent: Gtk.TextView
parentInstance: Gtk.Container
pixelsAboveLines: number
pixelsBelowLines: number
pixelsInsideWrap: number
populateAll: boolean

If :populate-all is %TRUE, the #GtkTextView::populate-popup signal is also emitted for touch popups.

receivesDefault: boolean
resizeMode: Gtk.ResizeMode
rightMargin: number

The default right margin for text in the text view. Tags in the buffer may override the default.

Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.

Don't confuse this property with #GtkWidget:margin-right.

rightMarginPosition: number

Position of the right margin.

rubberbandSearch: boolean
scaleFactor: number

The scale factor of the widget. See gtk_widget_get_scale_factor() for more details about widget scaling.

scrollOffset: number
searchContext: GtkSource.SearchContext
searchDirection: Gtk.DirectionType
sensitive: boolean
showGridLines: boolean
showLineChanges: boolean
showLineDiagnostics: boolean

If the diagnostics gutter should be visible.

This also requires that IdeBuffer:highlight-diagnostics is set to %TRUE to generate diagnostics.

showLineMarks: boolean

Whether to display line mark pixbufs

showLineNumbers: boolean

Whether to display line numbers

showRightMargin: boolean

Whether to display the right margin.

showSearchBubbles: boolean
showSearchShadow: boolean
smartBackspace: boolean

Whether smart Backspace should be used.

Set the behavior of the HOME and END keys.

snippetCompletion: boolean
spaceDrawer: GtkSource.SpaceDrawer

The #GtkSourceSpaceDrawer object associated with the view.

spellChecking: boolean
style: Gtk.Style

The style of the widget, which contains information about how it will look (colors, etc).

tabWidth: number

Width of a tab character expressed in number of spaces.

tabs: TabArray
tooltipMarkup: string

Sets the text of tooltip to be the given string, which is marked up with the [Pango text markup language][PangoMarkupFormat]. Also see gtk_tooltip_set_markup().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup are set, the last one wins.

tooltipText: string

Sets the text of tooltip to be the given string.

Also see gtk_tooltip_set_text().

This is a convenience property which will take care of getting the tooltip shown if the given string is not %NULL: #GtkWidget:has-tooltip will automatically be set to %TRUE and there will be taken care of #GtkWidget::query-tooltip in the default signal handler.

Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup are set, the last one wins.

topMargin: number

The top margin for text in the text view.

Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.

Don't confuse this property with #GtkWidget:margin-top.

vadjustment: Gtk.Adjustment

Verical #GtkAdjustment of the scrollable widget. This adjustment is shared between the scrollable widget and its parent.

valign: Gtk.Align

How to distribute vertical space if widget gets extra space, see #GtkAlign

vexpand: boolean

Whether to expand vertically. See gtk_widget_set_vexpand().

vexpandSet: boolean

Whether to use the #GtkWidget:vexpand property. See gtk_widget_get_vexpand_set().

visible: boolean
vscrollPolicy: Gtk.ScrollablePolicy

Determines whether vertical scrolling should start once the scrollable widget is allocated less than its minimum height or less than its natural height.

widget: Gtk.Widget
widthRequest: number
window: Gdk.Window

The widget's window if it is realized, %NULL otherwise.

wrapMode: Gtk.WrapMode
$gtype: GObject.Type
name: string

Methods

  • activate(): boolean
  • For widgets that can be “activated” (buttons, menu items, etc.) this function activates them. Activation is what happens when you press Enter on a widget during key navigation. If widget isn't activatable, the function returns %FALSE.

    Returns boolean

  • Adds widget to container. Typically used for simple containers such as #GtkWindow, #GtkFrame, or #GtkButton; for more complicated layout containers such as #GtkBox or #GtkGrid, this function will pick default packing parameters that may not be correct. So consider functions such as gtk_box_pack_start() and gtk_grid_attach() as an alternative to gtk_container_add() in those cases. A widget may be added to only one container at a time; you can’t place the same widget inside two different containers.

    Note that some containers, such as #GtkScrolledWindow or #GtkListBox, may add intermediate children between the added widget and the container.

    Parameters

    Returns void

  • Installs an accelerator for this widget in accel_group that causes accel_signal to be emitted if the accelerator is activated. The accel_group needs to be added to the widget’s toplevel via gtk_window_add_accel_group(), and the signal must be of type %G_SIGNAL_ACTION. Accelerators added through this function are not user changeable during runtime. If you want to support accelerators that can be changed by the user, use gtk_accel_map_add_entry() and gtk_widget_set_accel_path() or gtk_menu_item_set_accel_path() instead.

    Parameters

    Returns void

  • Adds a child to buildable. type is an optional string describing how the child should be added.

    Parameters

    Returns void

  • Adds a child at fixed coordinates in one of the text widget's windows.

    The window must have nonzero size (see gtk_text_view_set_border_window_size()). Note that the child coordinates are given relative to scrolling. When placing a child in #GTK_TEXT_WINDOW_WIDGET, scrolling is irrelevant, the child floats above all scrollable areas. But when placing a child in one of the scrollable windows (border windows or text window) it will move with the scrolling as needed.

    Parameters

    Returns void

  • Adds the device events in the bitfield events to the event mask for widget. See gtk_widget_set_device_events() for details.

    Parameters

    Returns void

  • addEvents(events: number): void
  • Adds the events in the bitfield events to the event mask for widget. See gtk_widget_set_events() and the [input handling overview][event-masks] for details.

    Parameters

    • events: number

    Returns void

  • Adds a widget to the list of mnemonic labels for this widget. (See gtk_widget_list_mnemonic_labels()). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the #GtkWidget::destroy signal or a weak notifier.

    Parameters

    Returns void

  • Queues an animation frame update and adds a callback to be called before each frame. Until the tick callback is removed, it will be called frequently (usually at the frame rate of the output device or as quickly as the application can be repainted, whichever is slower). For this reason, is most suitable for handling graphics that change every frame or every few frames. The tick callback does not automatically imply a relayout or repaint. If you want a repaint or relayout, and aren’t changing widget properties that would trigger that (for example, changing the text of a #GtkLabel), then you will have to call gtk_widget_queue_resize() or gtk_widget_queue_draw_area() yourself.

    gdk_frame_clock_get_frame_time() should generally be used for timing continuous animations and gdk_frame_timings_get_predicted_presentation_time() if you are trying to display isolated frames at particular times.

    This is a more convenient alternative to connecting directly to the #GdkFrameClock::update signal of #GdkFrameClock, since you don't have to worry about when a #GdkFrameClock is assigned to a widget.

    Parameters

    Returns number

  • Moves the given iter backward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view’s width; paragraphs are the same in all views, since they depend on the contents of the #GtkTextBuffer.

    Parameters

    Returns boolean

  • Moves the given iter backward to the next display line start. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view’s width; paragraphs are the same in all views, since they depend on the contents of the #GtkTextBuffer.

    Parameters

    Returns boolean

  • Creates a binding between source_property on source and target_property on target.

    Whenever the source_property is changed the target_property is updated using the same value. For instance:

      g_object_bind_property (action, "active", widget, "sensitive", 0);
    

    Will result in the "sensitive" property of the widget #GObject instance to be updated with the same value of the "active" property of the action #GObject instance.

    If flags contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual: if target_property on target changes then the source_property on source will be updated as well.

    The binding will automatically be removed when either the source or the target instances are finalized. To remove the binding without affecting the source and the target you can just call g_object_unref() on the returned #GBinding instance.

    Removing the binding by calling g_object_unref() on it must only be done if the binding, source and target are only used from a single thread and it is clear that both source and target outlive the binding. Especially it is not safe to rely on this if the binding, source or target can be finalized from different threads. Keep another reference to the binding and use g_binding_unbind() instead to be on the safe side.

    A #GObject can have multiple bindings.

    Parameters

    Returns Binding

  • bindPropertyFull(sourceProperty: string, target: GObject.Object, targetProperty: string, flags: BindingFlags, transformTo: Function, transformFrom: Function): Binding
  • Creates a binding between source_property on source and target_property on target, allowing you to set the transformation functions to be used by the binding.

    This function is the language bindings friendly version of g_object_bind_property_full(), using #GClosures instead of function pointers.

    Parameters

    • sourceProperty: string
    • target: GObject.Object
    • targetProperty: string
    • flags: BindingFlags
    • transformTo: Function
    • transformFrom: Function

    Returns Binding

  • bufferToWindowCoords(win: Gtk.TextWindowType, bufferX: number, bufferY: number): [number, number]
  • Converts coordinate (buffer_x, buffer_y) to coordinates for the window win, and stores the result in (window_x, window_y).

    Note that you can’t convert coordinates for a nonexisting window (see gtk_text_view_set_border_window_size()).

    Parameters

    Returns [number, number]

  • canActivateAccel(signalId: number): boolean
  • Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This is done by emitting the #GtkWidget::can-activate-accel signal on widget; if the signal isn’t overridden by a handler or in a derived widget, then the default check is that the widget must be sensitive, and the widget and all its ancestors mapped.

    Parameters

    • signalId: number

    Returns boolean

  • checkResize(): void
  • This function is used by custom widget implementations; if you're writing an app, you’d use gtk_widget_grab_focus() to move the focus to a particular widget, and gtk_container_set_focus_chain() to change the focus tab order. So you may want to investigate those functions instead.

    gtk_widget_child_focus() is called by containers as the user moves around the window using keyboard shortcuts. direction indicates what kind of motion is taking place (up, down, left, right, tab forward, tab backward). gtk_widget_child_focus() emits the #GtkWidget::focus signal; widgets override the default handler for this signal in order to implement appropriate focus behavior.

    The default ::focus handler for a widget should return %TRUE if moving in direction left the focus on a focusable location inside that widget, and %FALSE if moving in direction moved the focus outside the widget. If returning %TRUE, widgets normally call gtk_widget_grab_focus() to place the focus accordingly; if returning %FALSE, they don’t modify the current focus location.

    Parameters

    Returns boolean

  • childGetProperty(child: Gtk.Widget, propertyName: string, value: any): void
  • Gets the value of a child property for child and container.

    Parameters

    • child: Gtk.Widget
    • propertyName: string
    • value: any

    Returns void

  • childNotify(child: Gtk.Widget, childProperty: string): void
  • childNotify(childProperty: string): void
  • Emits a #GtkWidget::child-notify signal for the [child property][child-properties] child_property on the child.

    This is an analogue of g_object_notify() for child properties.

    Also see gtk_widget_child_notify().

    Parameters

    Returns void

  • Emits a #GtkWidget::child-notify signal for the [child property][child-properties] child_property on widget.

    This is the analogue of g_object_notify() for child properties.

    Also see gtk_container_child_notify().

    Parameters

    • childProperty: string

    Returns void

  • Emits a #GtkWidget::child-notify signal for the [child property][child-properties] specified by pspec on the child.

    This is an analogue of g_object_notify_by_pspec() for child properties.

    Parameters

    Returns void

  • childSetProperty(child: Gtk.Widget, propertyName: string, value: any): void
  • Sets a child property for child and container.

    Parameters

    • child: Gtk.Widget
    • propertyName: string
    • value: any

    Returns void

  • Returns the type of the children supported by the container.

    Note that this may return %G_TYPE_NONE to indicate that no more children can be added, e.g. for a #GtkPaned which already has two children.

    Returns GObject.Type

  • classPath(): [number, string, string]
  • Same as gtk_widget_path(), but always uses the name of a widget’s type, never uses a custom name set with gtk_widget_set_name().

    Returns [number, string, string]

  • clearSearch(): void
  • clearSnippets(): void
  • Computes whether a container should give this widget extra space when possible. Containers should check this, rather than looking at gtk_widget_get_hexpand() or gtk_widget_get_vexpand().

    This function already checks whether the widget is visible, so visibility does not need to be checked separately. Non-visible widgets are not expanded.

    The computed expand value uses either the expand setting explicitly set on the widget itself, or, if none has been explicitly set, the widget may expand if some of its children do.

    Parameters

    Returns boolean

  • connect(sigName: "action", callback: (object: string, p0: string, p1: string) => void): number
  • connect(sigName: "add-cursor", callback: (object: Ide.CursorType) => void): number
  • connect(sigName: "append-to-count", callback: (object: number) => void): number
  • connect(sigName: "begin-macro", callback: () => void): number
  • connect(sigName: "begin-rename", callback: () => void): number
  • connect(sigName: "begin-user-action", callback: () => void): number
  • connect(sigName: "capture-modifier", callback: () => void): number
  • connect(sigName: "clear-count", callback: () => void): number
  • connect(sigName: "clear-modifier", callback: () => void): number
  • connect(sigName: "clear-search", callback: () => void): number
  • connect(sigName: "clear-selection", callback: () => void): number
  • connect(sigName: "clear-snippets", callback: () => void): number
  • connect(sigName: "cycle-completion", callback: (object: Gtk.DirectionType) => void): number
  • connect(sigName: "decrease-font-size", callback: () => void): number
  • connect(sigName: "delete-selection", callback: () => void): number
  • connect(sigName: "duplicate-entire-line", callback: () => void): number
  • connect(sigName: "end-macro", callback: () => void): number
  • connect(sigName: "end-user-action", callback: () => void): number
  • connect(sigName: "find-references", callback: () => void): number
  • connect(sigName: "focus-location", callback: (object: SourceLocation) => void): number
  • connect(sigName: "format-selection", callback: () => void): number
  • connect(sigName: "goto-definition", callback: () => void): number
  • connect(sigName: "hide-completion", callback: () => void): number
  • connect(sigName: "increase-font-size", callback: () => void): number
  • connect(sigName: "indent-selection", callback: (object: number) => void): number
  • connect(sigName: "insert-modifier", callback: (useCount: boolean) => void): number
  • connect(sigName: "jump", callback: (object: Gtk.TextIter) => void): number
  • connect(sigName: "move-error", callback: (dir: Gtk.DirectionType) => void): number
  • connect(sigName: "move-search", callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void): number
  • connect(sigName: "movement", callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void): number
  • connect(sigName: "paste-clipboard-extended", callback: (object: boolean, p0: boolean, p1: boolean) => void): number
  • connect(sigName: "pop-selection", callback: () => void): number
  • connect(sigName: "pop-snippet", callback: () => void): number
  • connect(sigName: "push-selection", callback: () => void): number
  • connect(sigName: "push-snippet", callback: (snippet: SourceSnippet, iter?: Gtk.TextIter) => void): number
  • connect(sigName: "rebuild-highlight", callback: () => void): number
  • connect(sigName: "reindent", callback: () => void): number
  • connect(sigName: "remove-cursors", callback: () => void): number
  • connect(sigName: "replay-macro", callback: (object: boolean) => void): number
  • connect(sigName: "request-documentation", callback: () => void): number
  • connect(sigName: "reset-font-size", callback: () => void): number
  • connect(sigName: "restore-insert-mark", callback: () => void): number
  • connect(sigName: "save-command", callback: () => void): number
  • connect(sigName: "save-insert-mark", callback: () => void): number
  • connect(sigName: "save-search-char", callback: () => void): number
  • connect(sigName: "select-inner", callback: (object: string, p0: string, p1: boolean, p2: boolean) => void): number
  • connect(sigName: "select-tag", callback: (object: boolean) => void): number
  • connect(sigName: "selection-theatric", callback: (object: SourceViewTheatric) => void): number
  • connect(sigName: "set-mode", callback: (object: string, p0: SourceViewModeType) => void): number
  • connect(sigName: "set-overwrite", callback: (object: boolean) => void): number
  • connect(sigName: "set-search-text", callback: (object: string, p0: boolean) => void): number
  • connect(sigName: "sort", callback: (ignoreCase: boolean, reverse: boolean) => void): number
  • connect(sigName: "swap-selection-bounds", callback: () => void): number
  • connect(sigName: "change-case", callback: (caseType: GtkSource.ChangeCaseType) => void): number
  • connect(sigName: "change-number", callback: (count: number) => void): number
  • connect(sigName: "join-lines", callback: () => void): number
  • connect(sigName: "line-mark-activated", callback: (iter: Gtk.TextIter, event: Gdk.Event) => void): number
  • connect(sigName: "move-lines", callback: (copy: boolean, count: number) => void): number
  • connect(sigName: "move-to-matching-bracket", callback: (extendSelection: boolean) => void): number
  • connect(sigName: "move-words", callback: (count: number) => void): number
  • connect(sigName: "redo", callback: () => void): number
  • connect(sigName: "show-completion", callback: () => void): number
  • connect(sigName: "smart-home-end", callback: (iter: Gtk.TextIter, count: number) => void): number
  • connect(sigName: "undo", callback: () => void): number
  • connect(sigName: "backspace", callback: () => void): number
  • connect(sigName: "copy-clipboard", callback: () => void): number
  • connect(sigName: "cut-clipboard", callback: () => void): number
  • connect(sigName: "delete-from-cursor", callback: (type: Gtk.DeleteType, count: number) => void): number
  • connect(sigName: "extend-selection", callback: (granularity: Gtk.TextExtendSelection, location: Gtk.TextIter, start: Gtk.TextIter, end: Gtk.TextIter) => boolean): number
  • connect(sigName: "insert-at-cursor", callback: (string: string) => void): number
  • connect(sigName: "insert-emoji", callback: () => void): number
  • connect(sigName: "move-cursor", callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void): number
  • connect(sigName: "move-viewport", callback: (step: Gtk.ScrollStep, count: number) => void): number
  • connect(sigName: "paste-clipboard", callback: () => void): number
  • connect(sigName: "populate-popup", callback: (popup: Gtk.Widget) => void): number
  • connect(sigName: "preedit-changed", callback: (preedit: string) => void): number
  • connect(sigName: "select-all", callback: (select: boolean) => void): number
  • connect(sigName: "set-anchor", callback: () => void): number
  • connect(sigName: "toggle-cursor-visible", callback: () => void): number
  • connect(sigName: "toggle-overwrite", callback: () => void): number
  • connect(sigName: "add", callback: (object: Gtk.Widget) => void): number
  • connect(sigName: "check-resize", callback: () => void): number
  • connect(sigName: "remove", callback: (object: Gtk.Widget) => void): number
  • connect(sigName: "set-focus-child", callback: (object: Gtk.Widget) => void): number
  • connect(sigName: "accel-closures-changed", callback: () => void): number
  • connect(sigName: "button-press-event", callback: (event: Gdk.EventButton) => boolean): number
  • connect(sigName: "button-release-event", callback: (event: Gdk.EventButton) => boolean): number
  • connect(sigName: "can-activate-accel", callback: (signalId: number) => boolean): number
  • connect(sigName: "child-notify", callback: (childProperty: ParamSpec) => void): number
  • connect(sigName: "composited-changed", callback: () => void): number
  • connect(sigName: "configure-event", callback: (event: Gdk.EventConfigure) => boolean): number
  • connect(sigName: "damage-event", callback: (event: Gdk.EventExpose) => boolean): number
  • connect(sigName: "delete-event", callback: (event: Gdk.Event) => boolean): number
  • connect(sigName: "destroy", callback: () => void): number
  • connect(sigName: "destroy-event", callback: (event: Gdk.Event) => boolean): number
  • connect(sigName: "direction-changed", callback: (previousDirection: Gtk.TextDirection) => void): number
  • connect(sigName: "drag-begin", callback: (context: Gdk.DragContext) => void): number
  • connect(sigName: "drag-data-delete", callback: (context: Gdk.DragContext) => void): number
  • connect(sigName: "drag-data-get", callback: (context: Gdk.DragContext, data: Gtk.SelectionData, info: number, time: number) => void): number
  • connect(sigName: "drag-data-received", callback: (context: Gdk.DragContext, x: number, y: number, data: Gtk.SelectionData, info: number, time: number) => void): number
  • connect(sigName: "drag-drop", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => boolean): number
  • connect(sigName: "drag-end", callback: (context: Gdk.DragContext) => void): number
  • connect(sigName: "drag-failed", callback: (context: Gdk.DragContext, result: Gtk.DragResult) => boolean): number
  • connect(sigName: "drag-leave", callback: (context: Gdk.DragContext, time: number) => void): number
  • connect(sigName: "drag-motion", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => boolean): number
  • connect(sigName: "draw", callback: (cr: cairo.Context) => boolean): number
  • connect(sigName: "enter-notify-event", callback: (event: Gdk.EventCrossing) => boolean): number
  • connect(sigName: "event", callback: (event: Gdk.Event) => boolean): number
  • connect(sigName: "event-after", callback: (event: Gdk.Event) => void): number
  • connect(sigName: "focus", callback: (direction: Gtk.DirectionType) => boolean): number
  • connect(sigName: "focus-in-event", callback: (event: Gdk.EventFocus) => boolean): number
  • connect(sigName: "focus-out-event", callback: (event: Gdk.EventFocus) => boolean): number
  • connect(sigName: "grab-broken-event", callback: (event: Gdk.EventGrabBroken) => boolean): number
  • connect(sigName: "grab-focus", callback: () => void): number
  • connect(sigName: "grab-notify", callback: (wasGrabbed: boolean) => void): number
  • connect(sigName: "hide", callback: () => void): number
  • connect(sigName: "hierarchy-changed", callback: (previousToplevel?: Gtk.Widget) => void): number
  • connect(sigName: "key-press-event", callback: (event: Gdk.EventKey) => boolean): number
  • connect(sigName: "key-release-event", callback: (event: Gdk.EventKey) => boolean): number
  • connect(sigName: "keynav-failed", callback: (direction: Gtk.DirectionType) => boolean): number
  • connect(sigName: "leave-notify-event", callback: (event: Gdk.EventCrossing) => boolean): number
  • connect(sigName: "map", callback: () => void): number
  • connect(sigName: "map-event", callback: (event: Gdk.EventAny) => boolean): number
  • connect(sigName: "mnemonic-activate", callback: (groupCycling: boolean) => boolean): number
  • connect(sigName: "motion-notify-event", callback: (event: Gdk.EventMotion) => boolean): number
  • connect(sigName: "move-focus", callback: (direction: Gtk.DirectionType) => void): number
  • connect(sigName: "parent-set", callback: (oldParent?: Gtk.Widget) => void): number
  • connect(sigName: "popup-menu", callback: () => boolean): number
  • connect(sigName: "property-notify-event", callback: (event: Gdk.EventProperty) => boolean): number
  • connect(sigName: "proximity-in-event", callback: (event: Gdk.EventProximity) => boolean): number
  • connect(sigName: "proximity-out-event", callback: (event: Gdk.EventProximity) => boolean): number
  • connect(sigName: "query-tooltip", callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => boolean): number
  • connect(sigName: "realize", callback: () => void): number
  • connect(sigName: "screen-changed", callback: (previousScreen?: Gdk.Screen) => void): number
  • connect(sigName: "scroll-event", callback: (event: Gdk.EventScroll) => boolean): number
  • connect(sigName: "selection-clear-event", callback: (event: Gdk.EventSelection) => boolean): number
  • connect(sigName: "selection-get", callback: (data: Gtk.SelectionData, info: number, time: number) => void): number
  • connect(sigName: "selection-notify-event", callback: (event: Gdk.EventSelection) => boolean): number
  • connect(sigName: "selection-received", callback: (data: Gtk.SelectionData, time: number) => void): number
  • connect(sigName: "selection-request-event", callback: (event: Gdk.EventSelection) => boolean): number
  • connect(sigName: "show", callback: () => void): number
  • connect(sigName: "show-help", callback: (helpType: Gtk.WidgetHelpType) => boolean): number
  • connect(sigName: "size-allocate", callback: (allocation: Gdk.Rectangle) => void): number
  • connect(sigName: "state-changed", callback: (state: Gtk.StateType) => void): number
  • connect(sigName: "state-flags-changed", callback: (flags: Gtk.StateFlags) => void): number
  • connect(sigName: "style-set", callback: (previousStyle?: Gtk.Style) => void): number
  • connect(sigName: "style-updated", callback: () => void): number
  • connect(sigName: "touch-event", callback: (object: Gdk.Event) => boolean): number
  • connect(sigName: "unmap", callback: () => void): number
  • connect(sigName: "unmap-event", callback: (event: Gdk.EventAny) => boolean): number
  • connect(sigName: "unrealize", callback: () => void): number
  • connect(sigName: "visibility-notify-event", callback: (event: Gdk.EventVisibility) => boolean): number
  • connect(sigName: "window-state-event", callback: (event: Gdk.EventWindowState) => boolean): number
  • connect(sigName: "notify", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::back-forward-list", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::count", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::enable-word-completion", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::file-settings", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::font-desc", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::font-name", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::indent-style", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::indenter", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::insert-matching-brace", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::mode-display-name", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::overscroll", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::overwrite-braces", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::rubberband-search", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::scroll-offset", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::search-context", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::search-direction", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-grid-lines", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-line-changes", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-line-diagnostics", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-search-bubbles", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-search-shadow", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::snippet-completion", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::spell-checking", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::auto-indent", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::background-pattern", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::completion", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::draw-spaces", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::highlight-current-line", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::indent-on-tab", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::indent-width", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::insert-spaces-instead-of-tabs", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::right-margin-position", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-line-marks", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-line-numbers", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::show-right-margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::smart-backspace", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::smart-home-end", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::space-drawer", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::tab-width", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::accepts-tab", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::bottom-margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::buffer", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::cursor-visible", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::editable", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::im-module", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::indent", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::input-hints", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::input-purpose", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::justification", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::left-margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::monospace", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::overwrite", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::pixels-above-lines", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::pixels-below-lines", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::pixels-inside-wrap", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::populate-all", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::right-margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::tabs", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::top-margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::wrap-mode", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::border-width", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::child", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::resize-mode", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::app-paintable", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::can-default", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::can-focus", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::composite-child", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::double-buffered", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::events", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::expand", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::focus-on-click", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::halign", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::has-default", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::has-focus", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::has-tooltip", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::height-request", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::hexpand", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::hexpand-set", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::is-focus", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-bottom", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-end", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-left", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-right", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-start", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::margin-top", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::name", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::no-show-all", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::opacity", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::receives-default", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::scale-factor", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::sensitive", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::style", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::tooltip-markup", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::tooltip-text", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::valign", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::vexpand", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::vexpand-set", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::visible", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::width-request", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::window", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::hadjustment", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::hscroll-policy", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::vadjustment", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: "notify::vscroll-policy", callback: (pspec: ParamSpec) => void): number
  • connect(sigName: string, callback: any): number
  • Parameters

    • sigName: "action"
    • callback: (object: string, p0: string, p1: string) => void
        • (object: string, p0: string, p1: string): void
        • Parameters

          • object: string
          • p0: string
          • p1: string

          Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "append-to-count"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    Returns number

  • This signal will begin recording input to the #IdeSourceView. This includes the current #IdeSourceViewMode, #IdeSourceView:count and #IdeSourceView:modifier which will be used to replay the sequence starting from the correct state.

    Pair this with an emission of #IdeSourceView::end-macro to complete the sequence.

    Parameters

    • sigName: "begin-macro"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • This signal is emitted when the source view should begin a rename operation using the #IdeRenameProvider from the underlying buffer. The cursor position will be used as the location when sending the request to the provider.

    Parameters

    • sigName: "begin-rename"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "begin-user-action"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • This signal will block the main loop in a similar fashion to how gtk_dialog_run() performs until a key-press has occurred that can be captured for use in movements.

    Pressing Escape or unfocusing the widget will break from this loop.

    Use of this signal is not recommended except in very specific cases.

    Parameters

    • sigName: "capture-modifier"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "clear-count"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "clear-modifier"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "clear-search"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "clear-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "clear-snippets"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "decrease-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "delete-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "duplicate-entire-line"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • You should call #IdeSourceView::begin-macro before emitting this signal.

    Complete a macro recording sequence. This may be called more times than is necessary, since #IdeSourceView will only keep the most recent macro recording. This can be helpful when implementing recording sequences such as in Vim.

    Parameters

    • sigName: "end-macro"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "end-user-action"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "find-references"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "format-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "goto-definition"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "hide-completion"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "increase-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "indent-selection"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    Returns number

  • Inserts the current modifier character at the insert mark in the buffer. If use_count is %TRUE, then the character will be inserted #IdeSourceView:count times.

    Parameters

    • sigName: "insert-modifier"
    • callback: (useCount: boolean) => void
        • (useCount: boolean): void
        • Parameters

          • useCount: boolean

          Returns void

    Returns number

  • Parameters

    Returns number

  • Moves to the next search result either forwards or backwards.

    Parameters

    Returns number

  • Parameters

    • sigName: "move-search"
    • callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void
        • (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number): void
        • Parameters

          Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "paste-clipboard-extended"
    • callback: (object: boolean, p0: boolean, p1: boolean) => void
        • (object: boolean, p0: boolean, p1: boolean): void
        • Parameters

          • object: boolean
          • p0: boolean
          • p1: boolean

          Returns void

    Returns number

  • Reselects a previousl selected range of text that was saved using IdeSourceView::push-selection.

    Parameters

    • sigName: "pop-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Pops the current snippet from the sourceview if there is one.

    Parameters

    • sigName: "pop-snippet"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Saves the current selection away to be restored by a call to IdeSourceView::pop-selection. You must pop the selection to keep the selection stack in consistent order.

    Parameters

    • sigName: "push-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Pushes snippet onto the snippet stack at either iter or the insertion mark if iter is not provided.

    Parameters

    Returns number

  • Parameters

    • sigName: "rebuild-highlight"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "reindent"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "remove-cursors"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "replay-macro"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns number

  • Parameters

    • sigName: "request-documentation"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "reset-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "restore-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "save-command"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "save-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "save-search-char"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "select-inner"
    • callback: (object: string, p0: string, p1: boolean, p2: boolean) => void
        • (object: string, p0: string, p1: boolean, p2: boolean): void
        • Parameters

          • object: string
          • p0: string
          • p1: boolean
          • p2: boolean

          Returns void

    Returns number

  • Parameters

    • sigName: "select-tag"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "set-overwrite"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns number

  • Parameters

    • sigName: "set-search-text"
    • callback: (object: string, p0: boolean) => void
        • (object: string, p0: boolean): void
        • Parameters

          • object: string
          • p0: boolean

          Returns void

    Returns number

  • This signal is meant to be activated from keybindings to sort the currently selected lines. The lines are sorted using qsort() and either strcmp() or strcasecmp().

    Parameters

    • sigName: "sort"
    • callback: (ignoreCase: boolean, reverse: boolean) => void
        • (ignoreCase: boolean, reverse: boolean): void
        • Parameters

          • ignoreCase: boolean
          • reverse: boolean

          Returns void

    Returns number

  • Parameters

    • sigName: "swap-selection-bounds"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Keybinding signal to change case of the text at the current cursor position.

    Parameters

    Returns number

  • Keybinding signal to edit a number at the current cursor position.

    Parameters

    • sigName: "change-number"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    Returns number

  • Keybinding signal to join the lines currently selected.

    Parameters

    • sigName: "join-lines"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Emitted when a line mark has been activated (for instance when there was a button press in the line marks gutter). You can use iter to determine on which line the activation took place.

    Parameters

    Returns number

  • The ::move-lines signal is a keybinding which gets emitted when the user initiates moving a line. The default binding key is Alt+Up/Down arrow. And moves the currently selected lines, or the current line by count. For the moment, only count of -1 or 1 is valid.

    The copy parameter is deprecated, it has never been used by GtkSourceView (the value is always %FALSE) and was buggy.

    Parameters

    • sigName: "move-lines"
    • callback: (copy: boolean, count: number) => void
        • (copy: boolean, count: number): void
        • Parameters

          • copy: boolean
          • count: number

          Returns void

    Returns number

  • Keybinding signal to move the cursor to the matching bracket.

    Parameters

    • sigName: "move-to-matching-bracket"
    • callback: (extendSelection: boolean) => void
        • (extendSelection: boolean): void
        • Parameters

          • extendSelection: boolean

          Returns void

    Returns number

  • The ::move-words signal is a keybinding which gets emitted when the user initiates moving a word. The default binding key is Alt+Left/Right Arrow and moves the current selection, or the current word by one word.

    Parameters

    • sigName: "move-words"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    Returns number

  • Parameters

    • sigName: "redo"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::show-completion signal is a key binding signal which gets emitted when the user requests a completion, by pressing Controlspace.

    This will create a #GtkSourceCompletionContext with the activation type as %GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED.

    Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to activate the completion by another means, for example with another key binding or a menu entry.

    Parameters

    • sigName: "show-completion"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Emitted when a the cursor was moved according to the smart home end setting. The signal is emitted after the cursor is moved, but during the GtkTextView::move-cursor action. This can be used to find out whether the cursor was moved by a normal home/end or by a smart home/end.

    Parameters

    • sigName: "smart-home-end"
    • callback: (iter: Gtk.TextIter, count: number) => void

    Returns number

  • Parameters

    • sigName: "undo"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::backspace signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.

    The default bindings for this signal are Backspace and Shift-Backspace.

    Parameters

    • sigName: "backspace"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::copy-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to copy the selection to the clipboard.

    The default bindings for this signal are Ctrl-c and Ctrl-Insert.

    Parameters

    • sigName: "copy-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::cut-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to cut the selection to the clipboard.

    The default bindings for this signal are Ctrl-x and Shift-Delete.

    Parameters

    • sigName: "cut-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::delete-from-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates a text deletion.

    If the type is %GTK_DELETE_CHARS, GTK+ deletes the selection if there is one, otherwise it deletes the requested number of characters.

    The default bindings for this signal are Delete for deleting a character, Ctrl-Delete for deleting a word and Ctrl-Backspace for deleting a word backwords.

    Parameters

    Returns number

  • The ::extend-selection signal is emitted when the selection needs to be extended at location.

    Parameters

    Returns number

  • The ::insert-at-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates the insertion of a fixed string at the cursor.

    This signal has no default bindings.

    Parameters

    • sigName: "insert-at-cursor"
    • callback: (string: string) => void
        • (string: string): void
        • Parameters

          • string: string

          Returns void

    Returns number

  • The ::insert-emoji signal is a [keybinding signal][GtkBindingSignal] which gets emitted to present the Emoji chooser for the text_view.

    The default bindings for this signal are Ctrl-. and Ctrl-;

    Parameters

    • sigName: "insert-emoji"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::move-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates a cursor movement. If the cursor is not visible in text_view, this signal causes the viewport to be moved instead.

    Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control the cursor programmatically.

    The default bindings for this signal come in two variants, the variant with the Shift modifier extends the selection, the variant without the Shift modifer does not. There are too many key combinations to list them all here.

    • Arrow keys move by individual characters/lines
    • Ctrl-arrow key combinations move by words/paragraphs
    • Home/End keys move to the ends of the buffer
    • PageUp/PageDown keys move vertically by pages
    • Ctrl-PageUp/PageDown keys move horizontally by pages

    Parameters

    • sigName: "move-cursor"
    • callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void
        • Parameters

          Returns void

    Returns number

  • The ::move-viewport signal is a [keybinding signal][GtkBindingSignal] which can be bound to key combinations to allow the user to move the viewport, i.e. change what part of the text view is visible in a containing scrolled window.

    There are no default bindings for this signal.

    Parameters

    Returns number

  • The ::paste-clipboard signal is a [keybinding signal][GtkBindingSignal] which gets emitted to paste the contents of the clipboard into the text view.

    The default bindings for this signal are Ctrl-v and Shift-Insert.

    Parameters

    • sigName: "paste-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::populate-popup signal gets emitted before showing the context menu of the text view.

    If you need to add items to the context menu, connect to this signal and append your items to the popup, which will be a #GtkMenu in this case.

    If #GtkTextView:populate-all is %TRUE, this signal will also be emitted to populate touch popups. In this case, popup will be a different container, e.g. a #GtkToolbar.

    The signal handler should not make assumptions about the type of widget, but check whether popup is a #GtkMenu or #GtkToolbar or another kind of container.

    Parameters

    Returns number

  • If an input method is used, the typed text will not immediately be committed to the buffer. So if you are interested in the text, connect to this signal.

    This signal is only emitted if the text at the given position is actually editable.

    Parameters

    • sigName: "preedit-changed"
    • callback: (preedit: string) => void
        • (preedit: string): void
        • Parameters

          • preedit: string

          Returns void

    Returns number

  • The ::select-all signal is a [keybinding signal][GtkBindingSignal] which gets emitted to select or unselect the complete contents of the text view.

    The default bindings for this signal are Ctrl-a and Ctrl-/ for selecting and Shift-Ctrl-a and Ctrl-\ for unselecting.

    Parameters

    • sigName: "select-all"
    • callback: (select: boolean) => void
        • (select: boolean): void
        • Parameters

          • select: boolean

          Returns void

    Returns number

  • The ::set-anchor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates setting the "anchor" mark. The "anchor" mark gets placed at the same position as the "insert" mark.

    This signal has no default bindings.

    Parameters

    • sigName: "set-anchor"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::toggle-cursor-visible signal is a [keybinding signal][GtkBindingSignal] which gets emitted to toggle the #GtkTextView:cursor-visible property.

    The default binding for this signal is F7.

    Parameters

    • sigName: "toggle-cursor-visible"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::toggle-overwrite signal is a [keybinding signal][GtkBindingSignal] which gets emitted to toggle the overwrite mode of the text view.

    The default bindings for this signal is Insert.

    Parameters

    • sigName: "toggle-overwrite"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "check-resize"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "accel-closures-changed"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::button-press-event signal will be emitted when a button (typically from a mouse) is pressed.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_BUTTON_PRESS_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • The ::button-release-event signal will be emitted when a button (typically from a mouse) is released.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_BUTTON_RELEASE_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This signal is present to allow applications and derived widgets to override the default #GtkWidget handling for determining whether an accelerator can be activated.

    Parameters

    • sigName: "can-activate-accel"
    • callback: (signalId: number) => boolean
        • (signalId: number): boolean
        • Parameters

          • signalId: number

          Returns boolean

    Returns number

  • The ::child-notify signal is emitted for each [child property][child-properties] that has changed on an object. The signal's detail holds the property name.

    Parameters

    • sigName: "child-notify"
    • callback: (childProperty: ParamSpec) => void

    Returns number

  • The ::composited-changed signal is emitted when the composited status of widgets screen changes. See gdk_screen_is_composited().

    Parameters

    • sigName: "composited-changed"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::configure-event signal will be emitted when the size, position or stacking of the widget's window has changed.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Parameters

    Returns number

  • Emitted when a redirected window belonging to widget gets drawn into. The region/area members of the event shows what area of the redirected drawable was drawn into.

    Parameters

    Returns number

  • The ::delete-event signal is emitted if a user requests that a toplevel window is closed. The default handler for this signal destroys the window. Connecting gtk_widget_hide_on_delete() to this signal will cause the window to be hidden instead, so that it can later be shown again without reconstructing it.

    Parameters

    • sigName: "delete-event"
    • callback: (event: Gdk.Event) => boolean

    Returns number

  • Signals that all holders of a reference to the widget should release the reference that they hold. May result in finalization of the widget if all references are released.

    This signal is not suitable for saving widget state.

    Parameters

    • sigName: "destroy"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::destroy-event signal is emitted when a #GdkWindow is destroyed. You rarely get this signal, because most widgets disconnect themselves from their window before they destroy it, so no widget owns the window at destroy time.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Parameters

    • sigName: "destroy-event"
    • callback: (event: Gdk.Event) => boolean

    Returns number

  • The ::direction-changed signal is emitted when the text direction of a widget changes.

    Parameters

    Returns number

  • The ::drag-begin signal is emitted on the drag source when a drag is started. A typical reason to connect to this signal is to set up a custom drag icon with e.g. gtk_drag_source_set_icon_pixbuf().

    Note that some widgets set up a drag icon in the default handler of this signal, so you may have to use g_signal_connect_after() to override what the default handler did.

    Parameters

    Returns number

  • The ::drag-data-delete signal is emitted on the drag source when a drag with the action %GDK_ACTION_MOVE is successfully completed. The signal handler is responsible for deleting the data that has been dropped. What "delete" means depends on the context of the drag operation.

    Parameters

    Returns number

  • The ::drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged. It is the responsibility of the signal handler to fill data with the data in the format which is indicated by info. See gtk_selection_data_set() and gtk_selection_data_set_text().

    Parameters

    Returns number

  • The ::drag-data-received signal is emitted on the drop site when the dragged data has been received. If the data was received in order to determine whether the drop will be accepted, the handler is expected to call gdk_drag_status() and not finish the drag. If the data was received in response to a #GtkWidget::drag-drop signal (and this is the last target to be received), the handler for this signal is expected to process the received data and then call gtk_drag_finish(), setting the success parameter depending on whether the data was processed successfully.

    Applications must create some means to determine why the signal was emitted and therefore whether to call gdk_drag_status() or gtk_drag_finish().

    The handler may inspect the selected action with gdk_drag_context_get_selected_action() before calling gtk_drag_finish(), e.g. to implement %GDK_ACTION_ASK as shown in the following example:

    void
    drag_data_received (GtkWidget *widget,
    GdkDragContext *context,
    gint x,
    gint y,
    GtkSelectionData *data,
    guint info,
    guint time)
    {
    if ((data->length >= 0) && (data->format == 8))
    {
    GdkDragAction action;

    // handle data here

    action = gdk_drag_context_get_selected_action (context);
    if (action == GDK_ACTION_ASK)
    {
    GtkWidget *dialog;
    gint response;

    dialog = gtk_message_dialog_new (NULL,
    GTK_DIALOG_MODAL |
    GTK_DIALOG_DESTROY_WITH_PARENT,
    GTK_MESSAGE_INFO,
    GTK_BUTTONS_YES_NO,
    "Move the data ?\n");
    response = gtk_dialog_run (GTK_DIALOG (dialog));
    gtk_widget_destroy (dialog);

    if (response == GTK_RESPONSE_YES)
    action = GDK_ACTION_MOVE;
    else
    action = GDK_ACTION_COPY;
    }

    gtk_drag_finish (context, TRUE, action == GDK_ACTION_MOVE, time);
    }
    else
    gtk_drag_finish (context, FALSE, FALSE, time);
    }

    Parameters

    Returns number

  • The ::drag-drop signal is emitted on the drop site when the user drops the data onto the widget. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns %FALSE and no further processing is necessary. Otherwise, the handler returns %TRUE. In this case, the handler must ensure that gtk_drag_finish() is called to let the source know that the drop is done. The call to gtk_drag_finish() can be done either directly or in a #GtkWidget::drag-data-received handler which gets triggered by calling gtk_drag_get_data() to receive the data for one or more of the supported targets.

    Parameters

    • sigName: "drag-drop"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => boolean
        • (context: Gdk.DragContext, x: number, y: number, time: number): boolean
        • Parameters

          Returns boolean

    Returns number

  • The ::drag-end signal is emitted on the drag source when a drag is finished. A typical reason to connect to this signal is to undo things done in #GtkWidget::drag-begin.

    Parameters

    Returns number

  • The ::drag-failed signal is emitted on the drag source when a drag has failed. The signal handler may hook custom code to handle a failed DnD operation based on the type of error, it returns %TRUE is the failure has been already handled (not showing the default "drag operation failed" animation), otherwise it returns %FALSE.

    Parameters

    Returns number

  • The ::drag-leave signal is emitted on the drop site when the cursor leaves the widget. A typical reason to connect to this signal is to undo things done in #GtkWidget::drag-motion, e.g. undo highlighting with gtk_drag_unhighlight().

    Likewise, the #GtkWidget::drag-leave signal is also emitted before the ::drag-drop signal, for instance to allow cleaning up of a preview item created in the #GtkWidget::drag-motion signal handler.

    Parameters

    Returns number

  • The ::drag-motion signal is emitted on the drop site when the user moves the cursor over the widget during a drag. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns %FALSE and no further processing is necessary. Otherwise, the handler returns %TRUE. In this case, the handler is responsible for providing the necessary information for displaying feedback to the user, by calling gdk_drag_status().

    If the decision whether the drop will be accepted or rejected can't be made based solely on the cursor position and the type of the data, the handler may inspect the dragged data by calling gtk_drag_get_data() and defer the gdk_drag_status() call to the #GtkWidget::drag-data-received handler. Note that you must pass #GTK_DEST_DEFAULT_DROP, #GTK_DEST_DEFAULT_MOTION or #GTK_DEST_DEFAULT_ALL to gtk_drag_dest_set() when using the drag-motion signal that way.

    Also note that there is no drag-enter signal. The drag receiver has to keep track of whether he has received any drag-motion signals since the last #GtkWidget::drag-leave and if not, treat the drag-motion signal as an "enter" signal. Upon an "enter", the handler will typically highlight the drop site with gtk_drag_highlight().

    static void
    drag_motion (GtkWidget *widget,
    GdkDragContext *context,
    gint x,
    gint y,
    guint time)
    {
    GdkAtom target;

    PrivateData *private_data = GET_PRIVATE_DATA (widget);

    if (!private_data->drag_highlight)
    {
    private_data->drag_highlight = 1;
    gtk_drag_highlight (widget);
    }

    target = gtk_drag_dest_find_target (widget, context, NULL);
    if (target == GDK_NONE)
    gdk_drag_status (context, 0, time);
    else
    {
    private_data->pending_status
    = gdk_drag_context_get_suggested_action (context);
    gtk_drag_get_data (widget, context, target, time);
    }

    return TRUE;
    }

    static void
    drag_data_received (GtkWidget *widget,
    GdkDragContext *context,
    gint x,
    gint y,
    GtkSelectionData *selection_data,
    guint info,
    guint time)
    {
    PrivateData *private_data = GET_PRIVATE_DATA (widget);

    if (private_data->suggested_action)
    {
    private_data->suggested_action = 0;

    // We are getting this data due to a request in drag_motion,
    // rather than due to a request in drag_drop, so we are just
    // supposed to call gdk_drag_status(), not actually paste in
    // the data.

    str = gtk_selection_data_get_text (selection_data);
    if (!data_is_acceptable (str))
    gdk_drag_status (context, 0, time);
    else
    gdk_drag_status (context,
    private_data->suggested_action,
    time);
    }
    else
    {
    // accept the drop
    }
    }

    Parameters

    • sigName: "drag-motion"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => boolean
        • (context: Gdk.DragContext, x: number, y: number, time: number): boolean
        • Parameters

          Returns boolean

    Returns number

  • This signal is emitted when a widget is supposed to render itself. The widget's top left corner must be painted at the origin of the passed in context and be sized to the values returned by gtk_widget_get_allocated_width() and gtk_widget_get_allocated_height().

    Signal handlers connected to this signal can modify the cairo context passed as cr in any way they like and don't need to restore it. The signal emission takes care of calling cairo_save() before and cairo_restore() after invoking the handler.

    The signal handler will get a cr with a clip region already set to the widget's dirty region, i.e. to the area that needs repainting. Complicated widgets that want to avoid redrawing themselves completely can get the full extents of the clip region with gdk_cairo_get_clip_rectangle(), or they can get a finer-grained representation of the dirty region with cairo_copy_clip_rectangle_list().

    Parameters

    Returns number

  • The ::enter-notify-event will be emitted when the pointer enters the widget's window.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_ENTER_NOTIFY_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • The GTK+ main loop will emit three signals for each GDK event delivered to a widget: one generic ::event signal, another, more specific, signal that matches the type of event delivered (e.g. #GtkWidget::key-press-event) and finally a generic #GtkWidget::event-after signal.

    Parameters

    • sigName: "event"
    • callback: (event: Gdk.Event) => boolean

    Returns number

  • After the emission of the #GtkWidget::event signal and (optionally) the second more specific signal, ::event-after will be emitted regardless of the previous two signals handlers return values.

    Parameters

    • sigName: "event-after"
    • callback: (event: Gdk.Event) => void

    Returns number

  • Parameters

    Returns number

  • The ::focus-in-event signal will be emitted when the keyboard focus enters the widget's window.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_FOCUS_CHANGE_MASK mask.

    Parameters

    Returns number

  • The ::focus-out-event signal will be emitted when the keyboard focus leaves the widget's window.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_FOCUS_CHANGE_MASK mask.

    Parameters

    Returns number

  • Emitted when a pointer or keyboard grab on a window belonging to widget gets broken.

    On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.

    Parameters

    Returns number

  • Parameters

    • sigName: "grab-focus"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::grab-notify signal is emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed.

    A widget is shadowed by a gtk_grab_add() when the topmost grab widget in the grab stack of its window group is not its ancestor.

    Parameters

    • sigName: "grab-notify"
    • callback: (wasGrabbed: boolean) => void
        • (wasGrabbed: boolean): void
        • Parameters

          • wasGrabbed: boolean

          Returns void

    Returns number

  • The ::hide signal is emitted when widget is hidden, for example with gtk_widget_hide().

    Parameters

    • sigName: "hide"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::hierarchy-changed signal is emitted when the anchored state of a widget changes. A widget is “anchored” when its toplevel ancestor is a #GtkWindow. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa.

    Parameters

    • sigName: "hierarchy-changed"
    • callback: (previousToplevel?: Gtk.Widget) => void
        • Parameters

          Returns void

    Returns number

  • The ::key-press-event signal is emitted when a key is pressed. The signal emission will reoccur at the key-repeat rate when the key is kept pressed.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_KEY_PRESS_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • The ::key-release-event signal is emitted when a key is released.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_KEY_RELEASE_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • Gets emitted if keyboard navigation fails. See gtk_widget_keynav_failed() for details.

    Parameters

    Returns number

  • The ::leave-notify-event will be emitted when the pointer leaves the widget's window.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_LEAVE_NOTIFY_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • The ::map signal is emitted when widget is going to be mapped, that is when the widget is visible (which is controlled with gtk_widget_set_visible()) and all its parents up to the toplevel widget are also visible. Once the map has occurred, #GtkWidget::map-event will be emitted.

    The ::map signal can be used to determine whether a widget will be drawn, for instance it can resume an animation that was stopped during the emission of #GtkWidget::unmap.

    Parameters

    • sigName: "map"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::map-event signal will be emitted when the widget's window is mapped. A window is mapped when it becomes visible on the screen.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Parameters

    Returns number

  • The default handler for this signal activates widget if group_cycling is %FALSE, or just makes widget grab focus if group_cycling is %TRUE.

    Parameters

    • sigName: "mnemonic-activate"
    • callback: (groupCycling: boolean) => boolean
        • (groupCycling: boolean): boolean
        • Parameters

          • groupCycling: boolean

          Returns boolean

    Returns number

  • The ::motion-notify-event signal is emitted when the pointer moves over the widget's #GdkWindow.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_POINTER_MOTION_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • Parameters

    Returns number

  • The ::parent-set signal is emitted when a new parent has been set on a widget.

    Parameters

    • sigName: "parent-set"
    • callback: (oldParent?: Gtk.Widget) => void

    Returns number

  • This signal gets emitted whenever a widget should pop up a context menu. This usually happens through the standard key binding mechanism; by pressing a certain key while a widget is focused, the user can cause the widget to pop up a menu. For example, the #GtkEntry widget creates a menu with clipboard commands. See the [Popup Menu Migration Checklist][checklist-popup-menu] for an example of how to use this signal.

    Parameters

    • sigName: "popup-menu"
    • callback: () => boolean
        • (): boolean
        • Returns boolean

    Returns number

  • The ::property-notify-event signal will be emitted when a property on the widget's window has been changed or deleted.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_PROPERTY_CHANGE_MASK mask.

    Parameters

    Returns number

  • To receive this signal the #GdkWindow associated to the widget needs to enable the #GDK_PROXIMITY_IN_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • To receive this signal the #GdkWindow associated to the widget needs to enable the #GDK_PROXIMITY_OUT_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • Emitted when #GtkWidget:has-tooltip is %TRUE and the hover timeout has expired with the cursor hovering "above" widget; or emitted when widget got focus in keyboard mode.

    Using the given coordinates, the signal handler should determine whether a tooltip should be shown for widget. If this is the case %TRUE should be returned, %FALSE otherwise. Note that if keyboard_mode is %TRUE, the values of x and y are undefined and should not be used.

    The signal handler is free to manipulate tooltip with the therefore destined function calls.

    Parameters

    • sigName: "query-tooltip"
    • callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => boolean
        • (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip): boolean
        • Parameters

          • x: number
          • y: number
          • keyboardMode: boolean
          • tooltip: Gtk.Tooltip

          Returns boolean

    Returns number

  • The ::realize signal is emitted when widget is associated with a #GdkWindow, which means that gtk_widget_realize() has been called or the widget has been mapped (that is, it is going to be drawn).

    Parameters

    • sigName: "realize"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::screen-changed signal gets emitted when the screen of a widget has changed.

    Parameters

    • sigName: "screen-changed"
    • callback: (previousScreen?: Gdk.Screen) => void
        • Parameters

          Returns void

    Returns number

  • The ::scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_SCROLL_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Parameters

    Returns number

  • The ::selection-clear-event signal will be emitted when the the widget's window has lost ownership of a selection.

    Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • The ::selection-request-event signal will be emitted when another client requests ownership of the selection owned by the widget's window.

    Parameters

    Returns number

  • The ::show signal is emitted when widget is shown, for example with gtk_widget_show().

    Parameters

    • sigName: "show"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • The ::state-changed signal is emitted when the widget state changes. See gtk_widget_get_state().

    Parameters

    Returns number

  • The ::state-flags-changed signal is emitted when the widget state changes, see gtk_widget_get_state_flags().

    Parameters

    Returns number

  • The ::style-set signal is emitted when a new style has been set on a widget. Note that style-modifying functions like gtk_widget_modify_base() also cause this signal to be emitted.

    Note that this signal is emitted for changes to the deprecated #GtkStyle. To track changes to the #GtkStyleContext associated with a widget, use the #GtkWidget::style-updated signal.

    Parameters

    • sigName: "style-set"
    • callback: (previousStyle?: Gtk.Style) => void
        • Parameters

          Returns void

    Returns number

  • The ::style-updated signal is a convenience signal that is emitted when the #GtkStyleContext::changed signal is emitted on the widget's associated #GtkStyleContext as returned by gtk_widget_get_style_context().

    Note that style-modifying functions like gtk_widget_override_color() also cause this signal to be emitted.

    Parameters

    • sigName: "style-updated"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • Parameters

    • sigName: "touch-event"
    • callback: (object: Gdk.Event) => boolean

    Returns number

  • The ::unmap signal is emitted when widget is going to be unmapped, which means that either it or any of its parents up to the toplevel widget have been set as hidden.

    As ::unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.

    Parameters

    • sigName: "unmap"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::unmap-event signal will be emitted when the widget's window is unmapped. A window is unmapped when it becomes invisible on the screen.

    To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Parameters

    Returns number

  • The ::unrealize signal is emitted when the #GdkWindow associated with widget is destroyed, which means that gtk_widget_unrealize() has been called or the widget has been unmapped (that is, it is going to be hidden).

    Parameters

    • sigName: "unrealize"
    • callback: () => void
        • (): void
        • Returns void

    Returns number

  • The ::visibility-notify-event will be emitted when the widget's window is obscured or unobscured.

    To receive this signal the #GdkWindow associated to the widget needs to enable the #GDK_VISIBILITY_NOTIFY_MASK mask.

    Parameters

    Returns number

  • The ::window-state-event will be emitted when the state of the toplevel window associated to the widget changes.

    To receive this signal the #GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Parameters

    Returns number

  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with %G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in ::notify being emitted, even if the new value is the same as the old. If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
    G_CALLBACK (gtk_text_view_target_list_notify),
    text_view)

    It is important to note that you must use [canonical parameter names][canonical-parameter-names] as detail strings for the notify signal.

    Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::enable-word-completion"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::insert-matching-brace"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::show-line-diagnostics"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::show-search-bubbles"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::show-search-shadow"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::snippet-completion"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::background-pattern"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::highlight-current-line"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::insert-spaces-instead-of-tabs"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::right-margin-position"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: "notify::pixels-above-lines"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::pixels-below-lines"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    • sigName: "notify::pixels-inside-wrap"
    • callback: (pspec: ParamSpec) => void

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    Returns number

  • Parameters

    • sigName: string
    • callback: any

    Returns number

  • connect_after(sigName: "notify::back-forward-list", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::count", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::enable-word-completion", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::file-settings", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::font-desc", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::font-name", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::indent-style", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::indenter", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::insert-matching-brace", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::mode-display-name", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::overscroll", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::overwrite-braces", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::rubberband-search", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::scroll-offset", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::search-context", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::search-direction", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-grid-lines", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-line-changes", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-line-diagnostics", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-search-bubbles", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-search-shadow", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::snippet-completion", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::spell-checking", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::auto-indent", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::background-pattern", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::completion", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::draw-spaces", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::highlight-current-line", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::indent-on-tab", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::indent-width", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::insert-spaces-instead-of-tabs", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::right-margin-position", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-line-marks", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-line-numbers", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::show-right-margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::smart-backspace", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::smart-home-end", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::space-drawer", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::tab-width", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::accepts-tab", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::bottom-margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::buffer", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::cursor-visible", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::editable", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::im-module", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::indent", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::input-hints", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::input-purpose", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::justification", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::left-margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::monospace", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::overwrite", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::pixels-above-lines", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::pixels-below-lines", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::pixels-inside-wrap", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::populate-all", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::right-margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::tabs", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::top-margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::wrap-mode", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::border-width", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::child", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::resize-mode", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::app-paintable", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::can-default", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::can-focus", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::composite-child", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::double-buffered", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::events", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::expand", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::focus-on-click", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::halign", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::has-default", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::has-focus", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::has-tooltip", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::height-request", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::hexpand", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::hexpand-set", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::is-focus", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-bottom", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-end", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-left", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-right", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-start", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::margin-top", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::name", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::no-show-all", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::opacity", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::receives-default", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::scale-factor", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::sensitive", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::style", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::tooltip-markup", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::tooltip-text", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::valign", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::vexpand", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::vexpand-set", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::visible", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::width-request", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::window", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::hadjustment", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::hscroll-policy", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::vadjustment", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: "notify::vscroll-policy", callback: (pspec: ParamSpec) => void): number
  • connect_after(sigName: string, callback: any): number
  • Constructs a child of buildable with the name name.

    #GtkBuilder calls this function if a “constructor” has been specified in the UI definition.

    Parameters

    Returns GObject.Object

  • Creates a new #PangoContext with the appropriate font map, font options, font description, and base direction for drawing text for this widget. See also gtk_widget_get_pango_context().

    Returns Pango.Context

  • Creates a new #PangoLayout with the appropriate font map, font description, and base direction for drawing text for this widget.

    If you keep a #PangoLayout created in this way around, you need to re-create it when the widget #PangoContext is replaced. This can be tracked by using the #GtkWidget::screen-changed signal on the widget.

    Parameters

    • Optional text: string

    Returns Pango.Layout

  • This is similar to gtk_buildable_parser_finished() but is called once for each custom tag handled by the buildable.

    Parameters

    Returns void

  • destroy(): void
  • Destroys a widget.

    When a widget is destroyed all references it holds on other objects will be released:

    • if the widget is inside a container, it will be removed from its parent
    • if the widget is a container, all its children will be destroyed, recursively
    • if the widget is a top level, it will be removed from the list of top level widgets that GTK+ maintains internally

    It's expected that all references held on the widget will also be released; you should connect to the #GtkWidget::destroy signal if you hold a reference to widget and you wish to remove it when this function is called. It is not necessary to do so if you are implementing a #GtkContainer, as you'll be able to use the #GtkContainerClass.remove() virtual function for that.

    It's important to notice that gtk_widget_destroy() will only cause the widget to be finalized if no additional references, acquired using g_object_ref(), are held on it. In case additional references are in place, the widget will be in an "inert" state after calling this function; widget will still point to valid memory, allowing you to release the references you hold, but you may not query the widget's own state.

    You should typically call this function on top level widgets, and rarely on child widgets.

    See also: gtk_container_remove()

    Returns void

  • This function sets *widget_pointer to %NULL if widget_pointer != %NULL. It’s intended to be used as a callback connected to the “destroy” signal of a widget. You connect gtk_widget_destroyed() as a signal handler, and pass the address of your widget variable as user data. Then when the widget is destroyed, the variable will be set to %NULL. Useful for example to avoid multiple copies of the same dialog.

    Parameters

    Returns Gtk.Widget

  • deviceIsShadowed(device: Gdk.Device): boolean
  • Returns %TRUE if device has been shadowed by a GTK+ device grab on another widget, so it would stop sending events to widget. This may be used in the #GtkWidget::grab-notify signal to check for specific devices. See gtk_device_grab_add().

    Parameters

    Returns boolean

  • disconnect(id: number): void
  • Initiates a drag on the source side. The function only needs to be used when the application is starting drags itself, and is not needed when gtk_drag_source_set() is used.

    The event is used to retrieve the timestamp that will be used internally to grab the pointer. If event is %NULL, then %GDK_CURRENT_TIME will be used. However, you should try to pass a real event in all cases, since that can be used to get information about the drag.

    Generally there are three cases when you want to start a drag by hand by calling this function:

    1. During a #GtkWidget::button-press-event handler, if you want to start a drag immediately when the user presses the mouse button. Pass the event that you have in your #GtkWidget::button-press-event handler.

    2. During a #GtkWidget::motion-notify-event handler, if you want to start a drag when the mouse moves past a certain threshold distance after a button-press. Pass the event that you have in your #GtkWidget::motion-notify-event handler.

    3. During a timeout handler, if you want to start a drag after the mouse button is held down for some time. Try to save the last event that you got from the mouse, using gdk_event_copy(), and pass it to this function (remember to free the event with gdk_event_free() when you are done). If you really cannot pass a real event, pass %NULL instead.

    Parameters

    Returns Gdk.DragContext

  • dragCheckThreshold(startX: number, startY: number, currentX: number, currentY: number): boolean
  • Checks to see if a mouse drag starting at (start_x, start_y) and ending at (current_x, current_y) has passed the GTK+ drag threshold, and thus should trigger the beginning of a drag-and-drop operation.

    Parameters

    • startX: number
    • startY: number
    • currentX: number
    • currentY: number

    Returns boolean

  • dragDestAddImageTargets(): void
  • Add the image targets supported by #GtkSelectionData to the target list of the drag destination. The targets are added with info = 0. If you need another value, use gtk_target_list_add_image_targets() and gtk_drag_dest_set_target_list().

    Returns void

  • dragDestAddTextTargets(): void
  • Add the text targets supported by #GtkSelectionData to the target list of the drag destination. The targets are added with info = 0. If you need another value, use gtk_target_list_add_text_targets() and gtk_drag_dest_set_target_list().

    Returns void

  • dragDestAddUriTargets(): void
  • Add the URI targets supported by #GtkSelectionData to the target list of the drag destination. The targets are added with info = 0. If you need another value, use gtk_target_list_add_uri_targets() and gtk_drag_dest_set_target_list().

    Returns void

  • Looks for a match between the supported targets of context and the dest_target_list, returning the first matching target, otherwise returning %GDK_NONE. dest_target_list should usually be the return value from gtk_drag_dest_get_target_list(), but some widgets may have different valid targets for different parts of the widget; in that case, they will have to implement a drag_motion handler that passes the correct target list to this function.

    Parameters

    Returns Gdk.Atom

  • dragDestGetTrackMotion(): boolean
  • Returns whether the widget has been configured to always emit #GtkWidget::drag-motion signals.

    Returns boolean

  • Sets a widget as a potential drop destination, and adds default behaviors.

    The default behaviors listed in flags have an effect similar to installing default handlers for the widget’s drag-and-drop signals (#GtkWidget::drag-motion, #GtkWidget::drag-drop, ...). They all exist for convenience. When passing #GTK_DEST_DEFAULT_ALL for instance it is sufficient to connect to the widget’s #GtkWidget::drag-data-received signal to get primitive, but consistent drag-and-drop support.

    Things become more complicated when you try to preview the dragged data, as described in the documentation for #GtkWidget::drag-motion. The default behaviors described by flags make some assumptions, that can conflict with your own signal handlers. For instance #GTK_DEST_DEFAULT_DROP causes invokations of gdk_drag_status() in the context of #GtkWidget::drag-motion, and invokations of gtk_drag_finish() in #GtkWidget::drag-data-received. Especially the later is dramatic, when your own #GtkWidget::drag-motion handler calls gtk_drag_get_data() to inspect the dragged data.

    There’s no way to set a default action here, you can use the #GtkWidget::drag-motion callback for that. Here’s an example which selects the action to use depending on whether the control key is pressed or not:

    static void
    drag_motion (GtkWidget *widget,
    GdkDragContext *context,
    gint x,
    gint y,
    guint time)
    {
    GdkModifierType mask;

    gdk_window_get_pointer (gtk_widget_get_window (widget),
    NULL, NULL, &mask);
    if (mask & GDK_CONTROL_MASK)
    gdk_drag_status (context, GDK_ACTION_COPY, time);
    else
    gdk_drag_status (context, GDK_ACTION_MOVE, time);
    }

    Parameters

    Returns void

  • Sets the target types that this widget can accept from drag-and-drop. The widget must first be made into a drag destination with gtk_drag_dest_set().

    Parameters

    Returns void

  • dragDestSetTrackMotion(trackMotion: boolean): void
  • Tells the widget to emit #GtkWidget::drag-motion and #GtkWidget::drag-leave events regardless of the targets and the %GTK_DEST_DEFAULT_MOTION flag.

    This may be used when a widget wants to do generic actions regardless of the targets that the source offers.

    Parameters

    • trackMotion: boolean

    Returns void

  • dragDestUnset(): void
  • Clears information about a drop destination set with gtk_drag_dest_set(). The widget will no longer receive notification of drags.

    Returns void

  • Gets the data associated with a drag. When the data is received or the retrieval fails, GTK+ will emit a #GtkWidget::drag-data-received signal. Failure of the retrieval is indicated by the length field of the selection_data signal parameter being negative. However, when gtk_drag_get_data() is called implicitely because the %GTK_DEST_DEFAULT_DROP was set, then the widget will not receive notification of failed drops.

    Parameters

    Returns void

  • dragHighlight(): void
  • Highlights a widget as a currently hovered drop target. To end the highlight, call gtk_drag_unhighlight(). GTK+ calls this automatically if %GTK_DEST_DEFAULT_HIGHLIGHT is set.

    Returns void

  • dragSourceAddImageTargets(): void
  • Add the writable image targets supported by #GtkSelectionData to the target list of the drag source. The targets are added with info = 0. If you need another value, use gtk_target_list_add_image_targets() and gtk_drag_source_set_target_list().

    Returns void

  • dragSourceAddTextTargets(): void
  • Add the text targets supported by #GtkSelectionData to the target list of the drag source. The targets are added with info = 0. If you need another value, use gtk_target_list_add_text_targets() and gtk_drag_source_set_target_list().

    Returns void

  • dragSourceAddUriTargets(): void
  • Add the URI targets supported by #GtkSelectionData to the target list of the drag source. The targets are added with info = 0. If you need another value, use gtk_target_list_add_uri_targets() and gtk_drag_source_set_target_list().

    Returns void

  • dragSourceSetIconGicon(icon: Gio.Icon): void
  • Sets the icon that will be used for drags from a particular source to icon. See the docs for #GtkIconTheme for more details.

    Parameters

    Returns void

  • dragSourceSetIconName(iconName: string): void
  • Sets the icon that will be used for drags from a particular source to a themed icon. See the docs for #GtkIconTheme for more details.

    Parameters

    • iconName: string

    Returns void

  • dragSourceSetIconPixbuf(pixbuf: Pixbuf): void
  • Sets the icon that will be used for drags from a particular widget from a #GdkPixbuf. GTK+ retains a reference for pixbuf and will release it when it is no longer needed.

    Parameters

    Returns void

  • dragSourceSetIconStock(stockId: string): void
  • Sets the icon that will be used for drags from a particular source to a stock icon.

    Parameters

    • stockId: string

    Returns void

  • Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with gtk_drag_source_set().

    Parameters

    Returns void

  • dragSourceUnset(): void
  • dragUnhighlight(): void
  • Removes a highlight set by gtk_drag_highlight() from a widget.

    Returns void

  • Draws widget to cr. The top left corner of the widget will be drawn to the currently set origin point of cr.

    You should pass a cairo context as cr argument that is in an original state. Otherwise the resulting drawing is undefined. For example changing the operator using cairo_set_operator() or the line width using cairo_set_line_width() might have unwanted side effects. You may however change the context’s transform matrix - like with cairo_scale(), cairo_translate() or cairo_set_matrix() and clip region with cairo_clip() prior to calling this function. Also, it is fine to modify the context with cairo_save() and cairo_push_group() prior to calling this function.

    Note that special-purpose widgets may contain special code for rendering to the screen and might appear differently on screen and when rendered using gtk_widget_draw().

    Parameters

    Returns void

  • emit(sigName: "action", object: string, p0: string, p1: string): void
  • emit(sigName: "add-cursor", object: Ide.CursorType): void
  • emit(sigName: "append-to-count", object: number): void
  • emit(sigName: "begin-macro"): void
  • emit(sigName: "begin-rename"): void
  • emit(sigName: "begin-user-action"): void
  • emit(sigName: "capture-modifier"): void
  • emit(sigName: "clear-count"): void
  • emit(sigName: "clear-modifier"): void
  • emit(sigName: "clear-search"): void
  • emit(sigName: "clear-selection"): void
  • emit(sigName: "clear-snippets"): void
  • emit(sigName: "cycle-completion", object: Gtk.DirectionType): void
  • emit(sigName: "decrease-font-size"): void
  • emit(sigName: "delete-selection"): void
  • emit(sigName: "duplicate-entire-line"): void
  • emit(sigName: "end-macro"): void
  • emit(sigName: "end-user-action"): void
  • emit(sigName: "find-references"): void
  • emit(sigName: "focus-location", object: SourceLocation): void
  • emit(sigName: "format-selection"): void
  • emit(sigName: "goto-definition"): void
  • emit(sigName: "hide-completion"): void
  • emit(sigName: "increase-font-size"): void
  • emit(sigName: "indent-selection", object: number): void
  • emit(sigName: "insert-modifier", useCount: boolean): void
  • emit(sigName: "jump", object: Gtk.TextIter): void
  • emit(sigName: "move-error", dir: Gtk.DirectionType): void
  • emit(sigName: "move-search", object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number): void
  • emit(sigName: "movement", object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean): void
  • emit(sigName: "paste-clipboard-extended", object: boolean, p0: boolean, p1: boolean): void
  • emit(sigName: "pop-selection"): void
  • emit(sigName: "pop-snippet"): void
  • emit(sigName: "push-selection"): void
  • emit(sigName: "push-snippet", snippet: SourceSnippet, iter?: Gtk.TextIter): void
  • emit(sigName: "rebuild-highlight"): void
  • emit(sigName: "reindent"): void
  • emit(sigName: "remove-cursors"): void
  • emit(sigName: "replay-macro", object: boolean): void
  • emit(sigName: "request-documentation"): void
  • emit(sigName: "reset-font-size"): void
  • emit(sigName: "restore-insert-mark"): void
  • emit(sigName: "save-command"): void
  • emit(sigName: "save-insert-mark"): void
  • emit(sigName: "save-search-char"): void
  • emit(sigName: "select-inner", object: string, p0: string, p1: boolean, p2: boolean): void
  • emit(sigName: "select-tag", object: boolean): void
  • emit(sigName: "selection-theatric", object: SourceViewTheatric): void
  • emit(sigName: "set-mode", object: string, p0: SourceViewModeType): void
  • emit(sigName: "set-overwrite", object: boolean): void
  • emit(sigName: "set-search-text", object: string, p0: boolean): void
  • emit(sigName: "sort", ignoreCase: boolean, reverse: boolean): void
  • emit(sigName: "swap-selection-bounds"): void
  • emit(sigName: "change-case", caseType: GtkSource.ChangeCaseType): void
  • emit(sigName: "change-number", count: number): void
  • emit(sigName: "join-lines"): void
  • emit(sigName: "line-mark-activated", iter: Gtk.TextIter, event: Gdk.Event): void
  • emit(sigName: "move-lines", copy: boolean, count: number): void
  • emit(sigName: "move-to-matching-bracket", extendSelection: boolean): void
  • emit(sigName: "move-words", count: number): void
  • emit(sigName: "redo"): void
  • emit(sigName: "show-completion"): void
  • emit(sigName: "smart-home-end", iter: Gtk.TextIter, count: number): void
  • emit(sigName: "undo"): void
  • emit(sigName: "backspace"): void
  • emit(sigName: "copy-clipboard"): void
  • emit(sigName: "cut-clipboard"): void
  • emit(sigName: "delete-from-cursor", type: Gtk.DeleteType, count: number): void
  • emit(sigName: "extend-selection", granularity: Gtk.TextExtendSelection, location: Gtk.TextIter, start: Gtk.TextIter, end: Gtk.TextIter): void
  • emit(sigName: "insert-at-cursor", string: string): void
  • emit(sigName: "insert-emoji"): void
  • emit(sigName: "move-cursor", step: Gtk.MovementStep, count: number, extendSelection: boolean): void
  • emit(sigName: "move-viewport", step: Gtk.ScrollStep, count: number): void
  • emit(sigName: "paste-clipboard"): void
  • emit(sigName: "populate-popup", popup: Gtk.Widget): void
  • emit(sigName: "preedit-changed", preedit: string): void
  • emit(sigName: "select-all", select: boolean): void
  • emit(sigName: "set-anchor"): void
  • emit(sigName: "toggle-cursor-visible"): void
  • emit(sigName: "toggle-overwrite"): void
  • emit(sigName: "add", object: Gtk.Widget): void
  • emit(sigName: "check-resize"): void
  • emit(sigName: "remove", object: Gtk.Widget): void
  • emit(sigName: "set-focus-child", object: Gtk.Widget): void
  • emit(sigName: "accel-closures-changed"): void
  • emit(sigName: "button-press-event", event: Gdk.EventButton): void
  • emit(sigName: "button-release-event", event: Gdk.EventButton): void
  • emit(sigName: "can-activate-accel", signalId: number): void
  • emit(sigName: "child-notify", childProperty: ParamSpec): void
  • emit(sigName: "composited-changed"): void
  • emit(sigName: "configure-event", event: Gdk.EventConfigure): void
  • emit(sigName: "damage-event", event: Gdk.EventExpose): void
  • emit(sigName: "delete-event", event: Gdk.Event): void
  • emit(sigName: "destroy"): void
  • emit(sigName: "destroy-event", event: Gdk.Event): void
  • emit(sigName: "direction-changed", previousDirection: Gtk.TextDirection): void
  • emit(sigName: "drag-begin", context: Gdk.DragContext): void
  • emit(sigName: "drag-data-delete", context: Gdk.DragContext): void
  • emit(sigName: "drag-data-get", context: Gdk.DragContext, data: Gtk.SelectionData, info: number, time: number): void
  • emit(sigName: "drag-data-received", context: Gdk.DragContext, x: number, y: number, data: Gtk.SelectionData, info: number, time: number): void
  • emit(sigName: "drag-drop", context: Gdk.DragContext, x: number, y: number, time: number): void
  • emit(sigName: "drag-end", context: Gdk.DragContext): void
  • emit(sigName: "drag-failed", context: Gdk.DragContext, result: Gtk.DragResult): void
  • emit(sigName: "drag-leave", context: Gdk.DragContext, time: number): void
  • emit(sigName: "drag-motion", context: Gdk.DragContext, x: number, y: number, time: number): void
  • emit(sigName: "draw", cr: cairo.Context): void
  • emit(sigName: "enter-notify-event", event: Gdk.EventCrossing): void
  • emit(sigName: "event", event: Gdk.Event): void
  • emit(sigName: "event-after", event: Gdk.Event): void
  • emit(sigName: "focus", direction: Gtk.DirectionType): void
  • emit(sigName: "focus-in-event", event: Gdk.EventFocus): void
  • emit(sigName: "focus-out-event", event: Gdk.EventFocus): void
  • emit(sigName: "grab-broken-event", event: Gdk.EventGrabBroken): void
  • emit(sigName: "grab-focus"): void
  • emit(sigName: "grab-notify", wasGrabbed: boolean): void
  • emit(sigName: "hide"): void
  • emit(sigName: "hierarchy-changed", previousToplevel?: Gtk.Widget): void
  • emit(sigName: "key-press-event", event: Gdk.EventKey): void
  • emit(sigName: "key-release-event", event: Gdk.EventKey): void
  • emit(sigName: "keynav-failed", direction: Gtk.DirectionType): void
  • emit(sigName: "leave-notify-event", event: Gdk.EventCrossing): void
  • emit(sigName: "map"): void
  • emit(sigName: "map-event", event: Gdk.EventAny): void
  • emit(sigName: "mnemonic-activate", groupCycling: boolean): void
  • emit(sigName: "motion-notify-event", event: Gdk.EventMotion): void
  • emit(sigName: "move-focus", direction: Gtk.DirectionType): void
  • emit(sigName: "parent-set", oldParent?: Gtk.Widget): void
  • emit(sigName: "popup-menu"): void
  • emit(sigName: "property-notify-event", event: Gdk.EventProperty): void
  • emit(sigName: "proximity-in-event", event: Gdk.EventProximity): void
  • emit(sigName: "proximity-out-event", event: Gdk.EventProximity): void
  • emit(sigName: "query-tooltip", x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip): void
  • emit(sigName: "realize"): void
  • emit(sigName: "screen-changed", previousScreen?: Gdk.Screen): void
  • emit(sigName: "scroll-event", event: Gdk.EventScroll): void
  • emit(sigName: "selection-clear-event", event: Gdk.EventSelection): void
  • emit(sigName: "selection-get", data: Gtk.SelectionData, info: number, time: number): void
  • emit(sigName: "selection-notify-event", event: Gdk.EventSelection): void
  • emit(sigName: "selection-received", data: Gtk.SelectionData, time: number): void
  • emit(sigName: "selection-request-event", event: Gdk.EventSelection): void
  • emit(sigName: "show"): void
  • emit(sigName: "show-help", helpType: Gtk.WidgetHelpType): void
  • emit(sigName: "size-allocate", allocation: Gdk.Rectangle): void
  • emit(sigName: "state-changed", state: Gtk.StateType): void
  • emit(sigName: "state-flags-changed", flags: Gtk.StateFlags): void
  • emit(sigName: "style-set", previousStyle?: Gtk.Style): void
  • emit(sigName: "style-updated"): void
  • emit(sigName: "touch-event", object: Gdk.Event): void
  • emit(sigName: "unmap"): void
  • emit(sigName: "unmap-event", event: Gdk.EventAny): void
  • emit(sigName: "unrealize"): void
  • emit(sigName: "visibility-notify-event", event: Gdk.EventVisibility): void
  • emit(sigName: "window-state-event", event: Gdk.EventWindowState): void
  • emit(sigName: "notify", pspec: ParamSpec): void
  • emit(sigName: string, ...args: any[]): void
  • ensureStyle(): void
  • Ensures that widget has a style (widget->style).

    Not a very useful function; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.

    Returns void

  • errorBell(): void
  • Notifies the user about an input-related error on this widget. If the #GtkSettings:gtk-error-bell setting is %TRUE, it calls gdk_window_beep(), otherwise it does nothing.

    Note that the effect of gdk_window_beep() can be configured in many ways, depending on the windowing backend and the desktop environment or window manager that is used.

    Returns void

  • Rarely-used function. This function is used to emit the event signals on a widget (those signals should never be emitted without using this function to do so). If you want to synthesize an event though, don’t use this function; instead, use gtk_main_do_event() so the event will behave as if it were in the event queue. Don’t synthesize expose events; instead, use gdk_window_invalidate_rect() to invalidate a region of the window.

    Parameters

    Returns boolean

  • Invokes callback on each direct child of container, including children that are considered “internal” (implementation details of the container). “Internal” children generally weren’t added by the user of the container, but were added by the container implementation itself.

    Most applications should use gtk_container_foreach(), rather than gtk_container_forall().

    Parameters

    Returns void

  • forceFloating(): void
  • This function is intended for #GObject implementations to re-enforce a [floating][floating-ref] object reference. Doing this is seldom required: all #GInitiallyUnowneds are created with a floating reference which usually just needs to be sunken by calling g_object_ref_sink().

    Returns void

  • Invokes callback on each non-internal child of container. See gtk_container_forall() for details on what constitutes an “internal” child. For all practical purposes, this function should iterate over precisely those child widgets that were added to the container by the application with explicit add() calls.

    It is permissible to remove the child from the callback handler.

    Most applications should use gtk_container_foreach(), rather than gtk_container_forall().

    Parameters

    Returns void

  • Moves the given iter forward by one display (wrapped) line. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view’s width; paragraphs are the same in all views, since they depend on the contents of the #GtkTextBuffer.

    Parameters

    Returns boolean

  • Moves the given iter forward to the next display line end. A display line is different from a paragraph. Paragraphs are separated by newlines or other paragraph separator characters. Display lines are created by line-wrapping a paragraph. If wrapping is turned off, display lines and paragraphs will be the same. Display lines are divided differently for each view, since they depend on the view’s width; paragraphs are the same in all views, since they depend on the contents of the #GtkTextBuffer.

    Parameters

    Returns boolean

  • freezeChildNotify(): void
  • Stops emission of #GtkWidget::child-notify signals on widget. The signals are queued until gtk_widget_thaw_child_notify() is called on widget.

    This is the analogue of g_object_freeze_notify() for child properties.

    Returns void

  • freezeNotify(): void
  • Increases the freeze count on object. If the freeze count is non-zero, the emission of "notify" signals on object is stopped. The signals are queued until the freeze count is decreased to zero. Duplicate notifications are squashed so that at most one #GObject::notify signal is emitted for each property modified while the object is frozen.

    This is necessary for accessors that modify multiple properties to prevent premature notification while the object is still being modified.

    Returns void

  • getAcceptsTab(): boolean
  • Returns whether pressing the Tab key inserts a tab characters. gtk_text_view_set_accepts_tab().

    Returns boolean

  • Returns the accessible object that describes the widget to an assistive technology.

    If accessibility support is not available, this #AtkObject instance may be a no-op. Likewise, if no class-specific #AtkObject implementation is available for the widget instance in question, it will inherit an #AtkObject implementation from the first ancestor class for which such an implementation is defined.

    The documentation of the ATK library contains more information about accessible objects and their uses.

    Returns Atk.Object

  • Retrieves the #GActionGroup that was registered using prefix. The resulting #GActionGroup may have been registered to widget or any #GtkWidget in its ancestry.

    If no action group was found matching prefix, then %NULL is returned.

    Parameters

    • prefix: string

    Returns Gio.ActionGroup

  • getAllocatedBaseline(): number
  • Returns the baseline that has currently been allocated to widget. This function is intended to be used when implementing handlers for the #GtkWidget::draw function, and when allocating child widgets in #GtkWidget::size_allocate.

    Returns number

  • getAllocatedHeight(): number
  • Returns the height that has currently been allocated to widget. This function is intended to be used when implementing handlers for the #GtkWidget::draw function.

    Returns number

  • Retrieves the widget’s allocated size.

    This function returns the last values passed to gtk_widget_size_allocate_with_baseline(). The value differs from the size returned in gtk_widget_get_allocation() in that functions like gtk_widget_set_halign() can adjust the allocation, but not the value returned by this function.

    If a widget is not visible, its allocated size is 0.

    Returns [Gdk.Rectangle, number]

  • getAllocatedWidth(): number
  • Returns the width that has currently been allocated to widget. This function is intended to be used when implementing handlers for the #GtkWidget::draw function.

    Returns number

  • Retrieves the widget’s allocation.

    Note, when implementing a #GtkContainer: a widget’s allocation will be its “adjusted” allocation, that is, the widget’s parent container typically calls gtk_widget_size_allocate() with an allocation, and that allocation is then adjusted (to handle margin and alignment for example) before assignment to the widget. gtk_widget_get_allocation() returns the adjusted allocation that was actually assigned to the widget. The adjusted allocation is guaranteed to be completely contained within the gtk_widget_size_allocate() allocation, however. So a #GtkContainer is guaranteed that its children stay inside the assigned bounds, but not that they have exactly the bounds the container assigned. There is no way to get the original allocation assigned by gtk_widget_size_allocate(), since it isn’t stored; if a container implementation needs that information it will have to track it itself.

    Returns Gdk.Rectangle

  • Gets the first ancestor of widget with type widget_type. For example, gtk_widget_get_ancestor (widget, GTK_TYPE_BOX) gets the first #GtkBox that’s an ancestor of widget. No reference will be added to the returned widget; it should not be unreferenced. See note about checking for a toplevel #GtkWindow in the docs for gtk_widget_get_toplevel().

    Note that unlike gtk_widget_is_ancestor(), gtk_widget_get_ancestor() considers widget to be an ancestor of itself.

    Parameters

    Returns Gtk.Widget

  • getAppPaintable(): boolean
  • Determines whether the application intends to draw on the widget in an #GtkWidget::draw handler.

    See gtk_widget_set_app_paintable()

    Returns boolean

  • getAutoIndent(): boolean
  • Returns whether auto-indentation of text is enabled.

    Returns boolean

  • Gets the #IdeSourceView:back-forward-list property. This is the list that is used to manage navigation history between multiple #IdeSourceView.

    Returns Ide.BackForwardList

  • Returns the size of a non-scrolling border around the outside of the scrollable. An example for this would be treeview headers. GTK+ can use this information to display overlayed graphics, like the overshoot indication, at the right position.

    Returns [boolean, Gtk.Border]

  • getBorderWidth(): number
  • Retrieves the border width of the container. See gtk_container_set_border_width().

    Returns number

  • getBottomMargin(): number
  • Gets the bottom margin for text in the text_view.

    Returns number

  • Returns the #GtkTextBuffer being displayed by this text view. The reference count on the buffer is not incremented; the caller of this function won’t own a new reference.

    Returns Gtk.TextBuffer

  • getCanDefault(): boolean
  • Determines whether widget can be a default widget. See gtk_widget_set_can_default().

    Returns boolean

  • getCanFocus(): boolean
  • Determines whether widget can own the input focus. See gtk_widget_set_can_focus().

    Returns boolean

  • This function is only for use in widget implementations. Obtains widget->requisition, unless someone has forced a particular geometry on the widget (e.g. with gtk_widget_set_size_request()), in which case it returns that geometry instead of the widget's requisition.

    This function differs from gtk_widget_size_request() in that it retrieves the last size request value from widget->requisition, while gtk_widget_size_request() actually calls the "size_request" method on widget to compute the size request and fill in widget->requisition, and only then returns widget->requisition.

    Because this function does not call the “size_request” method, it can only be used when you know that widget->requisition is up-to-date, that is, gtk_widget_size_request() has been called since the last time a resize was queued. In general, only container implementations have this information; applications should use gtk_widget_size_request().

    Returns Gtk.Requisition

  • getChildVisible(): boolean
  • Gets the value set with gtk_widget_set_child_visible(). If you feel a need to use this function, your code probably needs reorganization.

    This function is only useful for container implementations and never should be called by an application.

    Returns boolean

  • Returns the container’s non-internal children. See gtk_container_forall() for details on what constitutes an "internal" child.

    Returns Gtk.Widget[]

  • Retrieves the widget’s clip area.

    The clip area is the area in which all of widget's drawing will happen. Other toolkits call it the bounding box.

    Historically, in GTK+ the clip area has been equal to the allocation retrieved via gtk_widget_get_allocation().

    Returns Gdk.Rectangle

  • Returns the clipboard object for the given selection to be used with widget. widget must have a #GdkDisplay associated with it, so must be attached to a toplevel window.

    Parameters

    Returns Gtk.Clipboard

  • Gets the #GtkSourceCompletion associated with view. The returned object is guaranteed to be the same for the lifetime of view. Each #GtkSourceView object has a different #GtkSourceCompletion.

    Returns GtkSource.Completion

  • getCompositeName(): string
  • getCount(): number
  • Given an iter within a text layout, determine the positions of the strong and weak cursors if the insertion point is at that iterator. The position of each cursor is stored as a zero-width rectangle. The strong cursor location is the location where characters of the directionality equal to the base direction of the paragraph are inserted. The weak cursor location is the location where characters of the directionality opposite to the base direction of the paragraph are inserted.

    If iter is %NULL, the actual cursor position is used.

    Note that if iter happens to be the actual cursor position, and there is currently an IM preedit sequence being entered, the returned locations will be adjusted to account for the preedit cursor’s offset within the preedit sequence.

    The rectangle position is in buffer coordinates; use gtk_text_view_buffer_to_window_coords() to convert these coordinates to coordinates for one of the windows in the text view.

    Parameters

    Returns [Gdk.Rectangle, Gdk.Rectangle]

  • getCursorVisible(): boolean
  • Find out whether the cursor should be displayed.

    Returns boolean

  • getData(key: string): object
  • Gets a named field from the objects table of associations (see g_object_set_data()).

    Parameters

    • key: string

    Returns object

  • Obtains a copy of the default text attributes. These are the attributes used for text unless a tag overrides them. You’d typically pass the default attributes in to gtk_text_iter_get_attributes() in order to get the attributes in effect at a given text position.

    The return value is a copy owned by the caller of this function, and should be freed with gtk_text_attributes_unref().

    Returns Gtk.TextAttributes

  • getDeviceEnabled(device: Gdk.Device): boolean
  • Returns whether device can interact with widget and its children. See gtk_widget_set_device_enabled().

    Parameters

    Returns boolean

  • Returns the events mask for the widget corresponding to an specific device. These are the events that the widget will receive when device operates on it.

    Parameters

    Returns Gdk.EventMask

  • Get the #GdkDisplay for the toplevel window associated with this widget. This function can only be called after the widget has been added to a widget hierarchy with a #GtkWindow at the top.

    In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

    Returns Gdk.Display

  • getDoubleBuffered(): boolean
  • Determines whether the widget is double buffered.

    See gtk_widget_set_double_buffered()

    Returns boolean

  • getEditable(): boolean
  • Returns the default editability of the #GtkTextView. Tags in the buffer may override this setting for some ranges of text.

    Returns boolean

  • getEnableWordCompletion(): boolean
  • getEvents(): number
  • Returns the event mask (see #GdkEventMask) for the widget. These are the events that the widget will receive.

    Note: Internally, the widget event mask will be the logical OR of the event mask set through gtk_widget_set_events() or gtk_widget_add_events(), and the event mask necessary to cater for every #GtkEventController created for the widget.

    Returns number

  • Gets the #IdeSourceView:file-settings property. This contains various settings for how the file should be rendered in the view, and preferences such as spaces vs tabs.

    Returns FileSettings

  • Retrieves the focus chain of the container, if one has been set explicitly. If no focus chain has been explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores %NULL in focusable_widgets and returns %FALSE.

    Returns [boolean, Gtk.Widget[]]

  • Returns the current focus child widget inside container. This is not the currently focused widget. That can be obtained by calling gtk_window_get_focus().

    Returns Gtk.Widget

  • getFocusOnClick(): boolean
  • Returns whether the widget should grab focus when it is clicked with the mouse. See gtk_widget_set_focus_on_click().

    Returns boolean

  • Returns the #cairo_font_options_t used for Pango rendering. When not set, the defaults font options for the #GdkScreen will be used.

    Returns FontOptions

  • Obtains the frame clock for a widget. The frame clock is a global “ticker” that can be used to drive animations and repaints. The most common reason to get the frame clock is to call gdk_frame_clock_get_frame_time(), in order to get a time to use for animating. For example you might record the start of the animation with an initial value from gdk_frame_clock_get_frame_time(), and then update the animation by calling gdk_frame_clock_get_frame_time() again during each repaint.

    gdk_frame_clock_request_phase() will result in a new frame on the clock, but won’t necessarily repaint any widgets. To repaint a widget, you have to use gtk_widget_queue_draw() which invalidates the widget (thus scheduling it to receive a draw on the next frame). gtk_widget_queue_draw() will also end up requesting a frame on the appropriate frame clock.

    A widget’s frame clock will not change while the widget is mapped. Reparenting a widget (which implies a temporary unmap) can change the widget’s frame clock.

    Unrealized widgets do not have a frame clock.

    Returns Gdk.FrameClock

  • Returns the #GtkSourceGutter object associated with window_type for view. Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported, respectively corresponding to the left and right gutter. The line numbers and mark category icons are rendered in the left gutter.

    Parameters

    Returns GtkSource.Gutter

  • Gets the value of the #GtkWidget:halign property.

    For backwards compatibility reasons this method will never return %GTK_ALIGN_BASELINE, but instead it will convert it to %GTK_ALIGN_FILL. Baselines are not supported for horizontal alignment.

    Returns Gtk.Align

  • getHasTooltip(): boolean
  • Returns the current value of the has-tooltip property. See #GtkWidget:has-tooltip for more information.

    Returns boolean

  • getHasWindow(): boolean
  • Determines whether widget has a #GdkWindow of its own. See gtk_widget_set_has_window().

    Returns boolean

  • getHexpand(): boolean
  • Gets whether the widget would like any available extra horizontal space. When a user resizes a #GtkWindow, widgets with expand=TRUE generally receive the extra space. For example, a list or scrollable area or document in your window would often be set to expand.

    Containers should use gtk_widget_compute_expand() rather than this function, to see whether a widget, or any of its children, has the expand flag set. If any child of a widget wants to expand, the parent may ask to expand also.

    This function only looks at the widget’s own hexpand flag, rather than computing whether the entire widget tree rooted at this widget wants to expand.

    Returns boolean

  • getHexpandSet(): boolean
  • Gets whether gtk_widget_set_hexpand() has been used to explicitly set the expand flag on this widget.

    If hexpand is set, then it overrides any computed expand value based on child widgets. If hexpand is not set, then the expand value depends on whether any children of the widget would like to expand.

    There are few reasons to use this function, but it’s here for completeness and consistency.

    Returns boolean

  • getHighlightCurrentLine(): boolean
  • getIndent(): number
  • Gets the default indentation of paragraphs in text_view. Tags in the view’s buffer may override the default. The indentation may be negative.

    Returns number

  • getIndentOnTab(): boolean
  • Returns whether when the tab key is pressed the current selection should get indented instead of replaced with the \t character.

    Returns boolean

  • getIndentWidth(): number
  • Returns the number of spaces to use for each step of indent. See gtk_source_view_set_indent_width() for details.

    Returns number

  • getInsertMatchingBrace(): boolean
  • getInsertSpacesInsteadOfTabs(): boolean
  • Returns whether when inserting a tabulator character it should be replaced by a group of space characters.

    Returns boolean

  • getIterAtLocation(x: number, y: number): [boolean, Gtk.TextIter]
  • Retrieves the iterator at buffer coordinates x and y. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with gtk_text_view_window_to_buffer_coords().

    Parameters

    • x: number
    • y: number

    Returns [boolean, Gtk.TextIter]

  • getIterAtPosition(x: number, y: number): [boolean, Gtk.TextIter, number]
  • Retrieves the iterator pointing to the character at buffer coordinates x and y. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with gtk_text_view_window_to_buffer_coords().

    Note that this is different from gtk_text_view_get_iter_at_location(), which returns cursor locations, i.e. positions between characters.

    Parameters

    • x: number
    • y: number

    Returns [boolean, Gtk.TextIter, number]

  • getIterAtVisualColumn(column: number, location: Gtk.TextIter): void
  • Gets a rectangle which roughly contains the character at iter. The rectangle position is in buffer coordinates; use gtk_text_view_buffer_to_window_coords() to convert these coordinates to coordinates for one of the windows in the text view.

    Parameters

    Returns Gdk.Rectangle

  • getLeftMargin(): number
  • Gets the default left margin size of paragraphs in the text_view. Tags in the buffer may override the default.

    Returns number

  • Gets the #GtkTextIter at the start of the line containing the coordinate y. y is in buffer coordinates, convert from window coordinates with gtk_text_view_window_to_buffer_coords(). If non-%NULL, line_top will be filled with the coordinate of the top edge of the line.

    Parameters

    • y: number

    Returns [Gtk.TextIter, number]

  • Gets the y coordinate of the top of the line containing iter, and the height of the line. The coordinate is a buffer coordinate; convert to window coordinates with gtk_text_view_buffer_to_window_coords().

    Parameters

    Returns [number, number]

  • getMapped(): boolean
  • getMarginBottom(): number
  • Gets the value of the #GtkWidget:margin-bottom property.

    Returns number

  • getMarginEnd(): number
  • Gets the value of the #GtkWidget:margin-end property.

    Returns number

  • getMarginLeft(): number
  • Gets the value of the #GtkWidget:margin-left property.

    Returns number

  • getMarginRight(): number
  • Gets the value of the #GtkWidget:margin-right property.

    Returns number

  • getMarginStart(): number
  • Gets the value of the #GtkWidget:margin-start property.

    Returns number

  • getMarginTop(): number
  • Gets the value of the #GtkWidget:margin-top property.

    Returns number

  • getModeDisplayName(): string
  • getModeName(): string
  • Returns the current modifier style for the widget. (As set by gtk_widget_modify_style().) If no style has previously set, a new #GtkRcStyle will be created with all values unset, and set as the modifier style for the widget. If you make changes to this rc style, you must call gtk_widget_modify_style(), passing in the returned rc style, to make sure that your changes take effect.

    Caution: passing the style back to gtk_widget_modify_style() will normally end up destroying it, because gtk_widget_modify_style() copies the passed-in style and sets the copy as the new modifier style, thus dropping any reference to the old modifier style. Add a reference to the modifier style if you want to keep it alive.

    Returns Gtk.RcStyle

  • getMonospace(): boolean
  • Gets the value of the #GtkTextView:monospace property.

    Returns boolean

  • getName(): string
  • Retrieves the name of a widget. See gtk_widget_set_name() for the significance of widget names.

    Returns string

  • getNoShowAll(): boolean
  • Returns the current value of the #GtkWidget:no-show-all property, which determines whether calls to gtk_widget_show_all() will affect this widget.

    Returns boolean

  • getOpacity(): number
  • Fetches the requested opacity for this widget. See gtk_widget_set_opacity().

    Returns number

  • getOverwrite(): boolean
  • getOverwriteBraces(): boolean
  • Gets a #PangoContext with the appropriate font map, font description, and base direction for this widget. Unlike the context returned by gtk_widget_create_pango_context(), this context is owned by the widget (it can be used until the screen for the widget changes or the widget is removed from its toplevel), and will be updated to match any changes to the widget’s attributes. This can be tracked by using the #GtkWidget::screen-changed signal on the widget.

    Returns Pango.Context

  • Returns the #GtkWidgetPath representing widget, if the widget is not connected to a toplevel widget, a partial path will be created.

    Returns WidgetPath

  • Returns a newly created widget path representing all the widget hierarchy from the toplevel down to and including child.

    Parameters

    Returns WidgetPath

  • getPixelsAboveLines(): number
  • Gets the default number of pixels to put above paragraphs. Adding this function with gtk_text_view_get_pixels_below_lines() is equal to the line space between each paragraph.

    Returns number

  • getPixelsBelowLines(): number
  • Gets the value set by gtk_text_view_set_pixels_below_lines().

    The line space is the sum of the value returned by this function and the value returned by gtk_text_view_get_pixels_above_lines().

    Returns number

  • getPixelsInsideWrap(): number
  • Gets the value set by gtk_text_view_set_pixels_inside_wrap().

    Returns number

  • getPointer(): [number, number]
  • Obtains the location of the mouse pointer in widget coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as widget->window coordinates for widgets that return %TRUE for gtk_widget_get_has_window(); and are relative to widget->allocation.x, widget->allocation.y otherwise.

    Returns [number, number]

  • getPreferredHeight(): [number, number]
  • Retrieves a widget’s initial minimum and natural height.

    This call is specific to width-for-height requests.

    The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.

    Returns [number, number]

  • getPreferredHeightAndBaselineForWidth(width: number): [number, number, number, number]
  • Retrieves a widget’s minimum and natural height and the corresponding baselines if it would be given the specified width, or the default height if width is -1. The baselines may be -1 which means that no baseline is requested for this widget.

    The returned request will be modified by the GtkWidgetClass::adjust_size_request and GtkWidgetClass::adjust_baseline_request virtual methods and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.

    Parameters

    • width: number

    Returns [number, number, number, number]

  • getPreferredHeightForWidth(width: number): [number, number]
  • Retrieves a widget’s minimum and natural height if it would be given the specified width.

    The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.

    Parameters

    • width: number

    Returns [number, number]

  • Retrieves the minimum and natural size of a widget, taking into account the widget’s preference for height-for-width management.

    This is used to retrieve a suitable size by container widgets which do not impose any restrictions on the child placement. It can be used to deduce toplevel window and menu sizes as well as child widgets in free-form containers such as GtkLayout.

    Handle with care. Note that the natural height of a height-for-width widget will generally be a smaller size than the minimum height, since the required height for the natural width is generally smaller than the required height for the minimum width.

    Use gtk_widget_get_preferred_height_and_baseline_for_width() if you want to support baseline alignment.

    Returns [Gtk.Requisition, Gtk.Requisition]

  • getPreferredWidth(): [number, number]
  • Retrieves a widget’s initial minimum and natural width.

    This call is specific to height-for-width requests.

    The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.

    Returns [number, number]

  • getPreferredWidthForHeight(height: number): [number, number]
  • Retrieves a widget’s minimum and natural width if it would be given the specified height.

    The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.

    Parameters

    • height: number

    Returns [number, number]

  • getProperty(propertyName: string, value: any): void
  • Gets a property of an object.

    The value can be:

    • an empty #GValue initialized by %G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
    • a #GValue initialized with the expected type of the property
    • a #GValue initialized with a type to which the expected type of the property can be transformed

    In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset().

    Note that g_object_get_property() is really intended for language bindings, g_object_get() is much more convenient for C programming.

    Parameters

    • propertyName: string
    • value: any

    Returns void

  • getQdata(quark: number): object
  • This function gets back user data pointers stored via g_object_set_qdata().

    Parameters

    • quark: number

    Returns object

  • getRealized(): boolean
  • getReceivesDefault(): boolean
  • Determines whether widget is always treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

    See gtk_widget_set_receives_default().

    Returns boolean

  • Gets whether the widget prefers a height-for-width layout or a width-for-height layout.

    #GtkBin widgets generally propagate the preference of their child, container widgets need to request something either in context of their children or in context of their allocation capabilities.

    Returns Gtk.SizeRequestMode

  • Retrieves the widget’s requisition.

    This function should only be used by widget implementations in order to figure whether the widget’s requisition has actually changed after some internal state change (so that they can call gtk_widget_queue_resize() instead of gtk_widget_queue_draw()).

    Normally, gtk_widget_size_request() should be used.

    Returns Gtk.Requisition

  • getRightMargin(): number
  • Gets the default right margin for text in text_view. Tags in the buffer may override the default.

    Returns number

  • getRightMarginPosition(): number
  • Gets the position of the right margin in the given view.

    Returns number

  • Get the root window where this widget is located. This function can only be called after the widget has been added to a widget hierarchy with #GtkWindow at the top.

    The root window is useful for such purposes as creating a popup #GdkWindow associated with the window. In general, you should only create display specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

    Returns Gdk.Window

  • getRubberbandSearch(): boolean
  • getScaleFactor(): number
  • Retrieves the internal scale factor that maps from window coordinates to the actual device pixels. On traditional systems this is 1, on high density outputs, it can be a higher value (typically 2).

    See gdk_window_get_scale_factor().

    Returns number

  • Get the #GdkScreen from the toplevel window associated with this widget. This function can only be called after the widget has been added to a widget hierarchy with a #GtkWindow at the top.

    In general, you should only create screen specific resources when a widget has been realized, and you should free those resources when the widget is unrealized.

    Returns Gdk.Screen

  • getScrollOffset(): number
  • Gets the #IdeSourceView:scroll-offset property. This property contains the number of lines that should be kept above or below the line containing the insertion cursor relative to the top and bottom of the visible text window.

    Returns number

  • getSensitive(): boolean
  • Returns the widget’s sensitivity (in the sense of returning the value that has been set using gtk_widget_set_sensitive()).

    The effective sensitivity of a widget is however determined by both its own and its parent widget’s sensitivity. See gtk_widget_is_sensitive().

    Returns boolean

  • Gets the settings object holding the settings used for this widget.

    Note that this function can only be called when the #GtkWidget is attached to a toplevel, since the settings object is specific to a particular #GdkScreen.

    Returns Gtk.Settings

  • getShowGridLines(): boolean
  • getShowLineChanges(): boolean
  • getShowLineDiagnostics(): boolean
  • getShowLineMarks(): boolean
  • Returns whether line marks are displayed beside the text.

    Returns boolean

  • getShowLineNumbers(): boolean
  • Returns whether line numbers are displayed beside the text.

    Returns boolean

  • getShowRightMargin(): boolean
  • getShowSearchBubbles(): boolean
  • Gets the #IdeSourceView:show-search-bubbles property.

    If this is set to %TRUE, a bubble will be drawn around search results to make them stand out.

    The default is %FALSE.

    Returns boolean

  • getShowSearchShadow(): boolean
  • Gets the #IdeSourceView:show-search-shadow property.

    If this property is %TRUE, then when searching, a shadow will be drawn over the portion of the visible region that does not contain a match. This can be used to help bring focus to the matches.

    The default is %FALSE.

    Returns boolean

  • getSizeRequest(): [number, number]
  • Gets the size request that was explicitly set for the widget using gtk_widget_set_size_request(). A value of -1 stored in width or height indicates that that dimension has not been set explicitly and the natural requisition of the widget will be used instead. See gtk_widget_set_size_request(). To get the size a widget will actually request, call gtk_widget_get_preferred_size() instead of this function.

    Returns [number, number]

  • getSmartBackspace(): boolean
  • Returns %TRUE if pressing the Backspace key will try to delete spaces up to the previous tab stop.

    Returns boolean

  • getSnippetCompletion(): boolean
  • Gets the #IdeSourceView:snippet-completion property.

    If enabled, snippet expansion can be performed via the auto completion drop down.

    Returns boolean

  • Gets the #GtkSourceSpaceDrawer associated with view. The returned object is guaranteed to be the same for the lifetime of view. Each #GtkSourceView object has a different #GtkSourceSpaceDrawer.

    Returns GtkSource.SpaceDrawer

  • getSpellChecking(): boolean
  • Returns the widget state as a flag set. It is worth mentioning that the effective %GTK_STATE_FLAG_INSENSITIVE state will be returned, that is, also based on parent insensitivity, even if widget itself is sensitive.

    Also note that if you are looking for a way to obtain the #GtkStateFlags to pass to a #GtkStyleContext method, you should look at gtk_style_context_get_state().

    Returns Gtk.StateFlags

  • Returns the style context associated to widget. The returned object is guaranteed to be the same for the lifetime of widget.

    Returns Gtk.StyleContext

  • getSupportMultidevice(): boolean
  • Returns %TRUE if widget is multiple pointer aware. See gtk_widget_set_support_multidevice() for more information.

    Returns boolean

  • getTabWidth(): number
  • Gets the default tabs for text_view. Tags in the buffer may override the defaults. The returned array will be %NULL if “standard” (8-space) tabs are used. Free the return value with pango_tab_array_free().

    Returns TabArray

  • Fetch an object build from the template XML for widget_type in this widget instance.

    This will only report children which were previously declared with gtk_widget_class_bind_template_child_full() or one of its variants.

    This function is only meant to be called for code which is private to the widget_type which declared the child and is meant for language bindings which cannot easily make use of the GObject structure offsets.

    Parameters

    Returns GObject.Object

  • getTooltipMarkup(): string
  • getTooltipText(): string
  • Returns the #GtkWindow of the current tooltip. This can be the GtkWindow created by default, or the custom tooltip window set using gtk_widget_set_tooltip_window().

    Returns Gtk.Window

  • getTopMargin(): number
  • This function returns the topmost widget in the container hierarchy widget is a part of. If widget has no parent widgets, it will be returned as the topmost widget. No reference will be added to the returned widget; it should not be unreferenced.

    Note the difference in behavior vs. gtk_widget_get_ancestor(); gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) would return %NULL if widget wasn’t inside a toplevel window, and if the window was inside a #GtkWindow-derived widget which was in turn inside the toplevel #GtkWindow. While the second case may seem unlikely, it actually happens when a #GtkPlug is embedded inside a #GtkSocket within the same application.

    To reliably find the toplevel #GtkWindow, use gtk_widget_get_toplevel() and call GTK_IS_WINDOW() on the result. For instance, to get the title of a widget's toplevel window, one might use:

    static const char *
    get_widget_toplevel_title (GtkWidget *widget)
    {
    GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
    if (GTK_IS_WINDOW (toplevel))
    {
    return gtk_window_get_title (GTK_WINDOW (toplevel));
    }

    return NULL;
    }

    Returns Gtk.Widget

  • Gets the value of the #GtkWidget:valign property.

    For backwards compatibility reasons this method will never return %GTK_ALIGN_BASELINE, but instead it will convert it to %GTK_ALIGN_FILL. If your widget want to support baseline aligned children it must use gtk_widget_get_valign_with_baseline(), or g_object_get (widget, "valign", &value, NULL), which will also report the true value.

    Returns Gtk.Align

  • getVexpand(): boolean
  • Gets whether the widget would like any available extra vertical space.

    See gtk_widget_get_hexpand() for more detail.

    Returns boolean

  • getVexpandSet(): boolean
  • Gets whether gtk_widget_set_vexpand() has been used to explicitly set the expand flag on this widget.

    See gtk_widget_get_hexpand_set() for more detail.

    Returns boolean

  • getVisible(): boolean
  • Determines whether the widget is visible. If you want to take into account whether the widget’s parent is also marked as visible, use gtk_widget_is_visible() instead.

    This function does not check if the widget is obscured in any way.

    See gtk_widget_set_visible().

    Returns boolean

  • Gets the visible region in buffer coordinates that is the visible area of the buffer. This is similar to gtk_text_view_get_visible_area() except that it takes into account the #IdeSourceView:scroll-offset property to ensure there is space above and below the visible_rect.

    Returns Gdk.Rectangle

  • Fills visible_rect with the currently-visible region of the buffer, in buffer coordinates. Convert to window coordinates with gtk_text_view_buffer_to_window_coords().

    Returns Gdk.Rectangle

  • Determines the visual column at iter taking into consideration the #GtkSourceView:tab-width of view.

    Parameters

    Returns number

  • Determines the visual column at iter taking into consideration the #GtkSourceView:tab-width of view.

    Parameters

    Returns number

  • getVisualPosition(line: number, lineColumn: number): void
  • Retrieves the #GdkWindow corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer. Windows are %NULL and nonexistent if their width or height is 0, and are nonexistent before the widget has been realized.

    Parameters

    Returns Gdk.Window

  • Returns the widget’s window if it is realized, %NULL otherwise

    Returns Gdk.Window

  • Usually used to find out which window an event corresponds to.

    If you connect to an event signal on text_view, this function should be called on event->window to see which window it was.

    Parameters

    Returns Gtk.TextWindowType

  • getv(names: string[], values: any[]): void
  • Gets n_properties properties for an object. Obtained properties will be set to values. All properties must be valid. Warnings will be emitted and undefined behaviour may result if invalid properties are passed in.

    Parameters

    • names: string[]
    • values: any[]

    Returns void

  • grabAdd(): void
  • Makes widget the current grabbed widget.

    This means that interaction with other widgets in the same application is blocked and mouse as well as keyboard events are delivered to this widget.

    If widget is not sensitive, it is not set as the current grabbed widget and this function does nothing.

    Returns void

  • grabDefault(): void
  • Causes widget to become the default widget. widget must be able to be a default widget; typically you would ensure this yourself by calling gtk_widget_set_can_default() with a %TRUE value. The default widget is activated when the user presses Enter in a window. Default widgets must be activatable, that is, gtk_widget_activate() should affect them. Note that #GtkEntry widgets require the “activates-default” property set to %TRUE before they activate the default widget when Enter is pressed and the #GtkEntry is focused.

    Returns void

  • grabFocus(): void
  • Causes widget to have the keyboard focus for the #GtkWindow it's inside. widget must be a focusable widget, such as a #GtkEntry; something like #GtkFrame won’t work.

    More precisely, it must have the %GTK_CAN_FOCUS flag set. Use gtk_widget_set_can_focus() to modify that flag.

    The widget also needs to be realized and mapped. This is indicated by the related signals. Grabbing the focus immediately after creating the widget will likely fail and cause critical warnings.

    Returns void

  • grabRemove(): void
  • Removes the grab from the given widget.

    You have to pair calls to gtk_grab_add() and gtk_grab_remove().

    If widget does not have the grab, this function does nothing.

    Returns void

  • hasGrab(): boolean
  • Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).

    See also gtk_grab_add().

    Returns boolean

  • hasRcStyle(): boolean
  • Determines if the widget style has been looked up through the rc mechanism.

    Returns boolean

  • hasScreen(): boolean
  • Checks whether there is a #GdkScreen is associated with this widget. All toplevel widgets have an associated screen, and all widgets added into a hierarchy with a toplevel window at the top.

    Returns boolean

  • hasVisibleFocus(): boolean
  • Determines if the widget should show a visible indication that it has the global input focus. This is a convenience function for use in ::draw handlers that takes into account whether focus indication should currently be shown in the toplevel window of widget. See gtk_window_get_focus_visible() for more information about focus indication.

    To find out if the widget has the global input focus, use gtk_widget_has_focus().

    Returns boolean

  • hide(): void
  • Reverses the effects of gtk_widget_show(), causing the widget to be hidden (invisible to the user).

    Returns void

  • hideOnDelete(): boolean
  • Utility function; intended to be connected to the #GtkWidget::delete-event signal on a #GtkWindow. The function calls gtk_widget_hide() on its argument, then returns %TRUE. If connected to ::delete-event, the result is that clicking the close button for a window (on the window frame, top right corner usually) will hide but not destroy the window. By default, GTK+ destroys windows when ::delete-event is received.

    Returns boolean

  • Allow the #GtkTextView input method to internally handle key press and release events. If this function returns %TRUE, then no further processing should be done for this key event. See gtk_im_context_filter_keypress().

    Note that you are expected to call this function from your handler when overriding key event handling. This is needed in the case when you need to insert your own key handling between the input method and the default key event handling of the #GtkTextView.

    static gboolean
    gtk_foo_bar_key_press_event (GtkWidget *widget,
    GdkEventKey *event)
    {
    guint keyval;

    gdk_event_get_keyval ((GdkEvent*)event, &keyval);

    if (keyval == GDK_KEY_Return || keyval == GDK_KEY_KP_Enter)
    {
    if (gtk_text_view_im_context_filter_keypress (GTK_TEXT_VIEW (widget), event))
    return TRUE;
    }

    // Do some stuff

    return GTK_WIDGET_CLASS (gtk_foo_bar_parent_class)->key_press_event (widget, event);
    }

    Parameters

    Returns boolean

  • inDestruction(): boolean
  • Returns whether the widget is currently being destroyed. This information can sometimes be used to avoid doing unnecessary work.

    Returns boolean

  • initTemplate(): void
  • Creates and initializes child widgets defined in templates. This function must be called in the instance initializer for any class which assigned itself a template using gtk_widget_class_set_template()

    It is important to call this function in the instance initializer of a #GtkWidget subclass and not in #GObject.constructed() or #GObject.constructor() for two reasons.

    One reason is that generally derived widgets will assume that parent class composite widgets have been created in their instance initializers.

    Another reason is that when calling g_object_new() on a widget with composite templates, it’s important to build the composite widgets before the construct properties are set. Properties passed to g_object_new() should take precedence over properties set in the private template XML.

    Returns void

  • Sets an input shape for this widget’s GDK window. This allows for windows which react to mouse click in a nonrectangular region, see gdk_window_input_shape_combine_region() for more information.

    Parameters

    Returns void

  • Inserts group into widget. Children of widget that implement #GtkActionable can then be associated with actions in group by setting their “action-name” to prefix.action-name.

    If group is %NULL, a previously inserted group for name is removed from widget.

    Parameters

    Returns void

  • Computes the intersection of a widget’s area and area, storing the intersection in intersection, and returns %TRUE if there was an intersection. intersection may be %NULL if you’re only interested in whether there was an intersection.

    Parameters

    Returns [boolean, Gdk.Rectangle]

  • Determines whether widget is somewhere inside ancestor, possibly with intermediate containers.

    Parameters

    Returns boolean

  • isComposited(): boolean
  • Whether widget can rely on having its alpha channel drawn correctly. On X11 this function returns whether a compositing manager is running for widget’s screen.

    Please note that the semantics of this call will change in the future if used on a widget that has a composited window in its hierarchy (as set by gdk_window_set_composited()).

    Returns boolean

  • isDrawable(): boolean
  • Determines whether widget can be drawn to. A widget can be drawn to if it is mapped and visible.

    Returns boolean

  • isFloating(): boolean
  • Checks whether object has a [floating][floating-ref] reference.

    Returns boolean

  • isSensitive(): boolean
  • Returns the widget’s effective sensitivity, which means it is sensitive itself and also its parent widget is sensitive

    Returns boolean

  • isToplevel(): boolean
  • Determines whether widget is a toplevel widget.

    Currently only #GtkWindow and #GtkInvisible (and out-of-process #GtkPlugs) are toplevel widgets. Toplevel widgets have no parent widget.

    Returns boolean

  • isVisible(): boolean
  • Determines whether the widget and all its parents are marked as visible.

    This function does not check if the widget is obscured in any way.

    See also gtk_widget_get_visible() and gtk_widget_set_visible()

    Returns boolean

  • This function should be called whenever keyboard navigation within a single widget hits a boundary. The function emits the #GtkWidget::keynav-failed signal on the widget and its return value should be interpreted in a way similar to the return value of gtk_widget_child_focus():

    When %TRUE is returned, stay in the widget, the failed keyboard navigation is OK and/or there is nowhere we can/should move the focus to.

    When %FALSE is returned, the caller should continue with keyboard navigation outside the widget, e.g. by calling gtk_widget_child_focus() on the widget’s toplevel.

    The default ::keynav-failed handler returns %FALSE for %GTK_DIR_TAB_FORWARD and %GTK_DIR_TAB_BACKWARD. For the other values of #GtkDirectionType it returns %TRUE.

    Whenever the default handler returns %TRUE, it also calls gtk_widget_error_bell() to notify the user of the failed keyboard navigation.

    A use case for providing an own implementation of ::keynav-failed (either by connecting to it or by overriding it) would be a row of #GtkEntry widgets where the user should be able to navigate the entire row with the cursor keys, as e.g. known from user interfaces that require entering license keys.

    Parameters

    Returns boolean

  • listAccelClosures(): Function[]
  • Lists the closures used by widget for accelerator group connections with gtk_accel_group_connect_by_path() or gtk_accel_group_connect(). The closures can be used to monitor accelerator changes on widget, by connecting to the GtkAccelGroup::accel-changed signal of the #GtkAccelGroup of a closure which can be found out with gtk_accel_group_from_accel_closure().

    Returns Function[]

  • listActionPrefixes(): string[]
  • Retrieves a %NULL-terminated array of strings containing the prefixes of #GActionGroup's available to widget.

    Returns string[]

  • Returns a newly allocated list of the widgets, normally labels, for which this widget is the target of a mnemonic (see for example, gtk_label_set_mnemonic_widget()).

    The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, NULL) first, and then unref all the widgets afterwards.

    Returns Gtk.Widget[]

  • map(): void
  • This function is only for use in widget implementations. Causes a widget to be mapped if it isn’t already.

    Returns void

  • mnemonicActivate(groupCycling: boolean): boolean
  • Emits the #GtkWidget::mnemonic-activate signal.

    Parameters

    • groupCycling: boolean

    Returns boolean

  • Sets the base color for a widget in a particular state. All other style values are left untouched. The base color is the background color used along with the text color (see gtk_widget_modify_text()) for widgets such as #GtkEntry and #GtkTextView. See also gtk_widget_modify_style().

    Note that “no window” widgets (which have the %GTK_NO_WINDOW flag set) draw on their parent container’s window and thus may not draw any background themselves. This is the case for e.g. #GtkLabel.

    To modify the background of such widgets, you have to set the base color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a #GtkEventBox widget and setting the base color on that.

    Parameters

    Returns void

  • Sets the background color for a widget in a particular state.

    All other style values are left untouched. See also gtk_widget_modify_style().

    Note that “no window” widgets (which have the %GTK_NO_WINDOW flag set) draw on their parent container’s window and thus may not draw any background themselves. This is the case for e.g. #GtkLabel.

    To modify the background of such widgets, you have to set the background color on their parent; if you want to set the background of a rectangular area around a label, try placing the label in a #GtkEventBox widget and setting the background color on that.

    Parameters

    Returns void

  • Sets the cursor color to use in a widget, overriding the #GtkWidget cursor-color and secondary-cursor-color style properties.

    All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    Returns void

  • Sets the foreground color for a widget in a particular state.

    All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    Returns void

  • Sets the font to use for a widget.

    All other style values are left untouched. See also gtk_widget_modify_style().

    Parameters

    Returns void

  • Modifies style values on the widget.

    Modifications made using this technique take precedence over style values set via an RC file, however, they will be overridden if a style is explicitly set on the widget using gtk_widget_set_style(). The #GtkRcStyle-struct is designed so each field can either be set or unset, so it is possible, using this function, to modify some style values and leave the others unchanged.

    Note that modifications made with this function are not cumulative with previous calls to gtk_widget_modify_style() or with such functions as gtk_widget_modify_fg(). If you wish to retain previous values, you must first call gtk_widget_get_modifier_style(), make your modifications to the returned style, then call gtk_widget_modify_style() with that style. On the other hand, if you first call gtk_widget_modify_style(), subsequent calls to such functions gtk_widget_modify_fg() will have a cumulative effect with the initial modifications.

    Parameters

    Returns void

  • Sets the text color for a widget in a particular state.

    All other style values are left untouched. The text color is the foreground color used along with the base color (see gtk_widget_modify_base()) for widgets such as #GtkEntry and #GtkTextView. See also gtk_widget_modify_style().

    Parameters

    Returns void

  • moveChild(child: Gtk.Widget, xpos: number, ypos: number): void
  • Updates the position of a child, as for gtk_text_view_add_child_in_window().

    Parameters

    Returns void

  • Moves a mark within the buffer so that it's located within the currently-visible text area.

    Parameters

    Returns boolean

  • Moves a mark within the buffer so that it's located within the currently-visible text area.

    Parameters

    Returns boolean

  • moveVisually(iter: Gtk.TextIter, count: number): boolean
  • Move the iterator a given number of characters visually, treating it as the strong cursor position. If count is positive, then the new strong cursor position will be count positions to the right of the old cursor position. If count is negative then the new strong cursor position will be count positions to the left of the old cursor position.

    In the presence of bi-directional text, the correspondence between logical and visual order will depend on the direction of the current run, and there may be jumps when the cursor is moved off of the end of a run.

    Parameters

    Returns boolean

  • notify(propertyName: string): void
  • Emits a "notify" signal for the property property_name on object.

    When possible, eg. when signaling a property change from within the class that registered the property, you should use g_object_notify_by_pspec() instead.

    Note that emission of the notify signal may be blocked with g_object_freeze_notify(). In this case, the signal emissions are queued and will be emitted (in reverse order) when g_object_thaw_notify() is called.

    Parameters

    • propertyName: string

    Returns void

  • Emits a "notify" signal for the property specified by pspec on object.

    This function omits the property name lookup, hence it is faster than g_object_notify().

    One way to avoid using g_object_notify() from within the class that registered the properties, and using g_object_notify_by_pspec() instead, is to store the GParamSpec used with g_object_class_install_property() inside a static array, e.g.:

      enum
    {
    PROP_0,
    PROP_FOO,
    PROP_LAST
    };

    static GParamSpec *properties[PROP_LAST];

    static void
    my_object_class_init (MyObjectClass *klass)
    {
    properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
    0, 100,
    50,
    G_PARAM_READWRITE);
    g_object_class_install_property (gobject_class,
    PROP_FOO,
    properties[PROP_FOO]);
    }

    and then notify a change on the "foo" property with:

      g_object_notify_by_pspec (self, properties[PROP_FOO]);
    

    Parameters

    Returns void

  • off(sigName: "action", callback: (object: string, p0: string, p1: string) => void): EventEmitter
  • off(sigName: "add-cursor", callback: (object: Ide.CursorType) => void): EventEmitter
  • off(sigName: "append-to-count", callback: (object: number) => void): EventEmitter
  • off(sigName: "begin-macro", callback: () => void): EventEmitter
  • off(sigName: "begin-rename", callback: () => void): EventEmitter
  • off(sigName: "begin-user-action", callback: () => void): EventEmitter
  • off(sigName: "capture-modifier", callback: () => void): EventEmitter
  • off(sigName: "clear-count", callback: () => void): EventEmitter
  • off(sigName: "clear-modifier", callback: () => void): EventEmitter
  • off(sigName: "clear-search", callback: () => void): EventEmitter
  • off(sigName: "clear-selection", callback: () => void): EventEmitter
  • off(sigName: "clear-snippets", callback: () => void): EventEmitter
  • off(sigName: "cycle-completion", callback: (object: Gtk.DirectionType) => void): EventEmitter
  • off(sigName: "decrease-font-size", callback: () => void): EventEmitter
  • off(sigName: "delete-selection", callback: () => void): EventEmitter
  • off(sigName: "duplicate-entire-line", callback: () => void): EventEmitter
  • off(sigName: "end-macro", callback: () => void): EventEmitter
  • off(sigName: "end-user-action", callback: () => void): EventEmitter
  • off(sigName: "find-references", callback: () => void): EventEmitter
  • off(sigName: "focus-location", callback: (object: SourceLocation) => void): EventEmitter
  • off(sigName: "format-selection", callback: () => void): EventEmitter
  • off(sigName: "goto-definition", callback: () => void): EventEmitter
  • off(sigName: "hide-completion", callback: () => void): EventEmitter
  • off(sigName: "increase-font-size", callback: () => void): EventEmitter
  • off(sigName: "indent-selection", callback: (object: number) => void): EventEmitter
  • off(sigName: "insert-modifier", callback: (useCount: boolean) => void): EventEmitter
  • off(sigName: "jump", callback: (object: Gtk.TextIter) => void): EventEmitter
  • off(sigName: "move-error", callback: (dir: Gtk.DirectionType) => void): EventEmitter
  • off(sigName: "move-search", callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void): EventEmitter
  • off(sigName: "movement", callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void): EventEmitter
  • off(sigName: "paste-clipboard-extended", callback: (object: boolean, p0: boolean, p1: boolean) => void): EventEmitter
  • off(sigName: "pop-selection", callback: () => void): EventEmitter
  • off(sigName: "pop-snippet", callback: () => void): EventEmitter
  • off(sigName: "push-selection", callback: () => void): EventEmitter
  • off(sigName: "push-snippet", callback: (snippet: SourceSnippet, iter?: Gtk.TextIter) => void): EventEmitter
  • off(sigName: "rebuild-highlight", callback: () => void): EventEmitter
  • off(sigName: "reindent", callback: () => void): EventEmitter
  • off(sigName: "remove-cursors", callback: () => void): EventEmitter
  • off(sigName: "replay-macro", callback: (object: boolean) => void): EventEmitter
  • off(sigName: "request-documentation", callback: () => void): EventEmitter
  • off(sigName: "reset-font-size", callback: () => void): EventEmitter
  • off(sigName: "restore-insert-mark", callback: () => void): EventEmitter
  • off(sigName: "save-command", callback: () => void): EventEmitter
  • off(sigName: "save-insert-mark", callback: () => void): EventEmitter
  • off(sigName: "save-search-char", callback: () => void): EventEmitter
  • off(sigName: "select-inner", callback: (object: string, p0: string, p1: boolean, p2: boolean) => void): EventEmitter
  • off(sigName: "select-tag", callback: (object: boolean) => void): EventEmitter
  • off(sigName: "selection-theatric", callback: (object: SourceViewTheatric) => void): EventEmitter
  • off(sigName: "set-mode", callback: (object: string, p0: SourceViewModeType) => void): EventEmitter
  • off(sigName: "set-overwrite", callback: (object: boolean) => void): EventEmitter
  • off(sigName: "set-search-text", callback: (object: string, p0: boolean) => void): EventEmitter
  • off(sigName: "sort", callback: (ignoreCase: boolean, reverse: boolean) => void): EventEmitter
  • off(sigName: "swap-selection-bounds", callback: () => void): EventEmitter
  • off(sigName: "change-case", callback: (caseType: GtkSource.ChangeCaseType) => void): EventEmitter
  • off(sigName: "change-number", callback: (count: number) => void): EventEmitter
  • off(sigName: "join-lines", callback: () => void): EventEmitter
  • off(sigName: "line-mark-activated", callback: (iter: Gtk.TextIter, event: Gdk.Event) => void): EventEmitter
  • off(sigName: "move-lines", callback: (copy: boolean, count: number) => void): EventEmitter
  • off(sigName: "move-to-matching-bracket", callback: (extendSelection: boolean) => void): EventEmitter
  • off(sigName: "move-words", callback: (count: number) => void): EventEmitter
  • off(sigName: "redo", callback: () => void): EventEmitter
  • off(sigName: "show-completion", callback: () => void): EventEmitter
  • off(sigName: "smart-home-end", callback: (iter: Gtk.TextIter, count: number) => void): EventEmitter
  • off(sigName: "undo", callback: () => void): EventEmitter
  • off(sigName: "backspace", callback: () => void): EventEmitter
  • off(sigName: "copy-clipboard", callback: () => void): EventEmitter
  • off(sigName: "cut-clipboard", callback: () => void): EventEmitter
  • off(sigName: "delete-from-cursor", callback: (type: Gtk.DeleteType, count: number) => void): EventEmitter
  • off(sigName: "extend-selection", callback: (granularity: Gtk.TextExtendSelection, location: Gtk.TextIter, start: Gtk.TextIter, end: Gtk.TextIter) => void): EventEmitter
  • off(sigName: "insert-at-cursor", callback: (string: string) => void): EventEmitter
  • off(sigName: "insert-emoji", callback: () => void): EventEmitter
  • off(sigName: "move-cursor", callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void): EventEmitter
  • off(sigName: "move-viewport", callback: (step: Gtk.ScrollStep, count: number) => void): EventEmitter
  • off(sigName: "paste-clipboard", callback: () => void): EventEmitter
  • off(sigName: "populate-popup", callback: (popup: Gtk.Widget) => void): EventEmitter
  • off(sigName: "preedit-changed", callback: (preedit: string) => void): EventEmitter
  • off(sigName: "select-all", callback: (select: boolean) => void): EventEmitter
  • off(sigName: "set-anchor", callback: () => void): EventEmitter
  • off(sigName: "toggle-cursor-visible", callback: () => void): EventEmitter
  • off(sigName: "toggle-overwrite", callback: () => void): EventEmitter
  • off(sigName: "add", callback: (object: Gtk.Widget) => void): EventEmitter
  • off(sigName: "check-resize", callback: () => void): EventEmitter
  • off(sigName: "remove", callback: (object: Gtk.Widget) => void): EventEmitter
  • off(sigName: "set-focus-child", callback: (object: Gtk.Widget) => void): EventEmitter
  • off(sigName: "accel-closures-changed", callback: () => void): EventEmitter
  • off(sigName: "button-press-event", callback: (event: Gdk.EventButton) => void): EventEmitter
  • off(sigName: "button-release-event", callback: (event: Gdk.EventButton) => void): EventEmitter
  • off(sigName: "can-activate-accel", callback: (signalId: number) => void): EventEmitter
  • off(sigName: "child-notify", callback: (childProperty: ParamSpec) => void): EventEmitter
  • off(sigName: "composited-changed", callback: () => void): EventEmitter
  • off(sigName: "configure-event", callback: (event: Gdk.EventConfigure) => void): EventEmitter
  • off(sigName: "damage-event", callback: (event: Gdk.EventExpose) => void): EventEmitter
  • off(sigName: "delete-event", callback: (event: Gdk.Event) => void): EventEmitter
  • off(sigName: "destroy", callback: () => void): EventEmitter
  • off(sigName: "destroy-event", callback: (event: Gdk.Event) => void): EventEmitter
  • off(sigName: "direction-changed", callback: (previousDirection: Gtk.TextDirection) => void): EventEmitter
  • off(sigName: "drag-begin", callback: (context: Gdk.DragContext) => void): EventEmitter
  • off(sigName: "drag-data-delete", callback: (context: Gdk.DragContext) => void): EventEmitter
  • off(sigName: "drag-data-get", callback: (context: Gdk.DragContext, data: Gtk.SelectionData, info: number, time: number) => void): EventEmitter
  • off(sigName: "drag-data-received", callback: (context: Gdk.DragContext, x: number, y: number, data: Gtk.SelectionData, info: number, time: number) => void): EventEmitter
  • off(sigName: "drag-drop", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void): EventEmitter
  • off(sigName: "drag-end", callback: (context: Gdk.DragContext) => void): EventEmitter
  • off(sigName: "drag-failed", callback: (context: Gdk.DragContext, result: Gtk.DragResult) => void): EventEmitter
  • off(sigName: "drag-leave", callback: (context: Gdk.DragContext, time: number) => void): EventEmitter
  • off(sigName: "drag-motion", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void): EventEmitter
  • off(sigName: "draw", callback: (cr: cairo.Context) => void): EventEmitter
  • off(sigName: "enter-notify-event", callback: (event: Gdk.EventCrossing) => void): EventEmitter
  • off(sigName: "event", callback: (event: Gdk.Event) => void): EventEmitter
  • off(sigName: "event-after", callback: (event: Gdk.Event) => void): EventEmitter
  • off(sigName: "focus", callback: (direction: Gtk.DirectionType) => void): EventEmitter
  • off(sigName: "focus-in-event", callback: (event: Gdk.EventFocus) => void): EventEmitter
  • off(sigName: "focus-out-event", callback: (event: Gdk.EventFocus) => void): EventEmitter
  • off(sigName: "grab-broken-event", callback: (event: Gdk.EventGrabBroken) => void): EventEmitter
  • off(sigName: "grab-focus", callback: () => void): EventEmitter
  • off(sigName: "grab-notify", callback: (wasGrabbed: boolean) => void): EventEmitter
  • off(sigName: "hide", callback: () => void): EventEmitter
  • off(sigName: "hierarchy-changed", callback: (previousToplevel?: Gtk.Widget) => void): EventEmitter
  • off(sigName: "key-press-event", callback: (event: Gdk.EventKey) => void): EventEmitter
  • off(sigName: "key-release-event", callback: (event: Gdk.EventKey) => void): EventEmitter
  • off(sigName: "keynav-failed", callback: (direction: Gtk.DirectionType) => void): EventEmitter
  • off(sigName: "leave-notify-event", callback: (event: Gdk.EventCrossing) => void): EventEmitter
  • off(sigName: "map", callback: () => void): EventEmitter
  • off(sigName: "map-event", callback: (event: Gdk.EventAny) => void): EventEmitter
  • off(sigName: "mnemonic-activate", callback: (groupCycling: boolean) => void): EventEmitter
  • off(sigName: "motion-notify-event", callback: (event: Gdk.EventMotion) => void): EventEmitter
  • off(sigName: "move-focus", callback: (direction: Gtk.DirectionType) => void): EventEmitter
  • off(sigName: "parent-set", callback: (oldParent?: Gtk.Widget) => void): EventEmitter
  • off(sigName: "popup-menu", callback: () => void): EventEmitter
  • off(sigName: "property-notify-event", callback: (event: Gdk.EventProperty) => void): EventEmitter
  • off(sigName: "proximity-in-event", callback: (event: Gdk.EventProximity) => void): EventEmitter
  • off(sigName: "proximity-out-event", callback: (event: Gdk.EventProximity) => void): EventEmitter
  • off(sigName: "query-tooltip", callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void): EventEmitter
  • off(sigName: "realize", callback: () => void): EventEmitter
  • off(sigName: "screen-changed", callback: (previousScreen?: Gdk.Screen) => void): EventEmitter
  • off(sigName: "scroll-event", callback: (event: Gdk.EventScroll) => void): EventEmitter
  • off(sigName: "selection-clear-event", callback: (event: Gdk.EventSelection) => void): EventEmitter
  • off(sigName: "selection-get", callback: (data: Gtk.SelectionData, info: number, time: number) => void): EventEmitter
  • off(sigName: "selection-notify-event", callback: (event: Gdk.EventSelection) => void): EventEmitter
  • off(sigName: "selection-received", callback: (data: Gtk.SelectionData, time: number) => void): EventEmitter
  • off(sigName: "selection-request-event", callback: (event: Gdk.EventSelection) => void): EventEmitter
  • off(sigName: "show", callback: () => void): EventEmitter
  • off(sigName: "show-help", callback: (helpType: Gtk.WidgetHelpType) => void): EventEmitter
  • off(sigName: "size-allocate", callback: (allocation: Gdk.Rectangle) => void): EventEmitter
  • off(sigName: "state-changed", callback: (state: Gtk.StateType) => void): EventEmitter
  • off(sigName: "state-flags-changed", callback: (flags: Gtk.StateFlags) => void): EventEmitter
  • off(sigName: "style-set", callback: (previousStyle?: Gtk.Style) => void): EventEmitter
  • off(sigName: "style-updated", callback: () => void): EventEmitter
  • off(sigName: "touch-event", callback: (object: Gdk.Event) => void): EventEmitter
  • off(sigName: "unmap", callback: () => void): EventEmitter
  • off(sigName: "unmap-event", callback: (event: Gdk.EventAny) => void): EventEmitter
  • off(sigName: "unrealize", callback: () => void): EventEmitter
  • off(sigName: "visibility-notify-event", callback: (event: Gdk.EventVisibility) => void): EventEmitter
  • off(sigName: "window-state-event", callback: (event: Gdk.EventWindowState) => void): EventEmitter
  • off(sigName: "notify", callback: (pspec: ParamSpec) => void): EventEmitter
  • off(sigName: "notify::back-forward-list", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::count", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::enable-word-completion", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::file-settings", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::font-desc", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::font-name", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::indent-style", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::indenter", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::insert-matching-brace", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::mode-display-name", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::overscroll", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::overwrite-braces", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::rubberband-search", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::scroll-offset", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::search-context", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::search-direction", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-grid-lines", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-line-changes", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-line-diagnostics", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-search-bubbles", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-search-shadow", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::snippet-completion", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::spell-checking", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::auto-indent", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::background-pattern", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::completion", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::draw-spaces", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::highlight-current-line", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::indent-on-tab", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::indent-width", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::insert-spaces-instead-of-tabs", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::right-margin-position", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-line-marks", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-line-numbers", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::show-right-margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::smart-backspace", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::smart-home-end", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::space-drawer", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::tab-width", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::accepts-tab", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::bottom-margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::buffer", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::cursor-visible", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::editable", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::im-module", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::indent", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::input-hints", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::input-purpose", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::justification", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::left-margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::monospace", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::overwrite", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::pixels-above-lines", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::pixels-below-lines", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::pixels-inside-wrap", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::populate-all", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::right-margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::tabs", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::top-margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::wrap-mode", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::border-width", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::child", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::resize-mode", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::app-paintable", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::can-default", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::can-focus", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::composite-child", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::double-buffered", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::events", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::expand", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::focus-on-click", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::halign", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::has-default", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::has-focus", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::has-tooltip", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::height-request", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::hexpand", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::hexpand-set", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::is-focus", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-bottom", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-end", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-left", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-right", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-start", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::margin-top", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::name", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::no-show-all", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::opacity", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::receives-default", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::scale-factor", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::sensitive", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::style", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::tooltip-markup", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::tooltip-text", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::valign", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::vexpand", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::vexpand-set", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::visible", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::width-request", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::window", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::hadjustment", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::hscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::vadjustment", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: "notify::vscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • off(sigName: string, callback: any): EventEmitter
  • Parameters

    • sigName: "action"
    • callback: (object: string, p0: string, p1: string) => void
        • (object: string, p0: string, p1: string): void
        • Parameters

          • object: string
          • p0: string
          • p1: string

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "append-to-count"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "begin-macro"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "begin-rename"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "begin-user-action"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "capture-modifier"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "clear-count"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "clear-modifier"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "clear-search"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "clear-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "clear-snippets"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "decrease-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "delete-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "duplicate-entire-line"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "end-macro"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "end-user-action"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "find-references"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "format-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "goto-definition"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "hide-completion"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "increase-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "indent-selection"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "insert-modifier"
    • callback: (useCount: boolean) => void
        • (useCount: boolean): void
        • Parameters

          • useCount: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-search"
    • callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void
        • (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number): void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard-extended"
    • callback: (object: boolean, p0: boolean, p1: boolean) => void
        • (object: boolean, p0: boolean, p1: boolean): void
        • Parameters

          • object: boolean
          • p0: boolean
          • p1: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "pop-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "pop-snippet"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "push-selection"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "rebuild-highlight"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "reindent"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "remove-cursors"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "replay-macro"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "request-documentation"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "reset-font-size"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "restore-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "save-command"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "save-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "save-search-char"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "select-inner"
    • callback: (object: string, p0: string, p1: boolean, p2: boolean) => void
        • (object: string, p0: string, p1: boolean, p2: boolean): void
        • Parameters

          • object: string
          • p0: string
          • p1: boolean
          • p2: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "select-tag"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "set-overwrite"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "set-search-text"
    • callback: (object: string, p0: boolean) => void
        • (object: string, p0: boolean): void
        • Parameters

          • object: string
          • p0: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "sort"
    • callback: (ignoreCase: boolean, reverse: boolean) => void
        • (ignoreCase: boolean, reverse: boolean): void
        • Parameters

          • ignoreCase: boolean
          • reverse: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "swap-selection-bounds"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "change-number"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "join-lines"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-lines"
    • callback: (copy: boolean, count: number) => void
        • (copy: boolean, count: number): void
        • Parameters

          • copy: boolean
          • count: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "move-to-matching-bracket"
    • callback: (extendSelection: boolean) => void
        • (extendSelection: boolean): void
        • Parameters

          • extendSelection: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "move-words"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "redo"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "show-completion"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "smart-home-end"
    • callback: (iter: Gtk.TextIter, count: number) => void

    Returns EventEmitter

  • Parameters

    • sigName: "undo"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "backspace"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "copy-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "cut-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "insert-at-cursor"
    • callback: (string: string) => void
        • (string: string): void
        • Parameters

          • string: string

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "insert-emoji"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "move-cursor"
    • callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "preedit-changed"
    • callback: (preedit: string) => void
        • (preedit: string): void
        • Parameters

          • preedit: string

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "select-all"
    • callback: (select: boolean) => void
        • (select: boolean): void
        • Parameters

          • select: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "set-anchor"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-cursor-visible"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-overwrite"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "check-resize"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "accel-closures-changed"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "can-activate-accel"
    • callback: (signalId: number) => void
        • (signalId: number): void
        • Parameters

          • signalId: number

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "child-notify"
    • callback: (childProperty: ParamSpec) => void

    Returns EventEmitter

  • Parameters

    • sigName: "composited-changed"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "delete-event"
    • callback: (event: Gdk.Event) => void

    Returns EventEmitter

  • Parameters

    • sigName: "destroy"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "destroy-event"
    • callback: (event: Gdk.Event) => void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-drop"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-motion"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "event-after"
    • callback: (event: Gdk.Event) => void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "grab-focus"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "grab-notify"
    • callback: (wasGrabbed: boolean) => void
        • (wasGrabbed: boolean): void
        • Parameters

          • wasGrabbed: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "hide"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "hierarchy-changed"
    • callback: (previousToplevel?: Gtk.Widget) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "map"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "mnemonic-activate"
    • callback: (groupCycling: boolean) => void
        • (groupCycling: boolean): void
        • Parameters

          • groupCycling: boolean

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "parent-set"
    • callback: (oldParent?: Gtk.Widget) => void

    Returns EventEmitter

  • Parameters

    • sigName: "popup-menu"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "query-tooltip"
    • callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void
        • (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip): void
        • Parameters

          • x: number
          • y: number
          • keyboardMode: boolean
          • tooltip: Gtk.Tooltip

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "realize"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "screen-changed"
    • callback: (previousScreen?: Gdk.Screen) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "show"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "style-set"
    • callback: (previousStyle?: Gtk.Style) => void
        • Parameters

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "style-updated"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "touch-event"
    • callback: (object: Gdk.Event) => void

    Returns EventEmitter

  • Parameters

    • sigName: "unmap"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "unrealize"
    • callback: () => void
        • (): void
        • Returns void

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify::back-forward-list"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::count"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::enable-word-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::file-settings"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-desc"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indenter"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-matching-brace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mode-display-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overscroll"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite-braces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::rubberband-search"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scroll-offset"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-context"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-direction"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-grid-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-changes"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-diagnostics"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-bubbles"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-shadow"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::snippet-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::spell-checking"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::auto-indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::background-pattern"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::draw-spaces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::highlight-current-line"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-on-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-spaces-instead-of-tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin-position"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-marks"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-numbers"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-backspace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-home-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::space-drawer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tab-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accepts-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::bottom-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::buffer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::cursor-visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::editable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::im-module"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-hints"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-purpose"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::justification"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::left-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::monospace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-above-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-below-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-inside-wrap"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::populate-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::top-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::border-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::expand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-click"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::halign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-bottom"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-left"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-right"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-start"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-top"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scale-factor"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::valign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: any

    Returns EventEmitter

  • on(sigName: "action", callback: (object: string, p0: string, p1: string) => void, after?: boolean): EventEmitter
  • on(sigName: "add-cursor", callback: (object: Ide.CursorType) => void, after?: boolean): EventEmitter
  • on(sigName: "append-to-count", callback: (object: number) => void, after?: boolean): EventEmitter
  • on(sigName: "begin-macro", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "begin-rename", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "begin-user-action", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "capture-modifier", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "clear-count", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "clear-modifier", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "clear-search", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "clear-selection", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "clear-snippets", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "cycle-completion", callback: (object: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • on(sigName: "decrease-font-size", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "delete-selection", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "duplicate-entire-line", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "end-macro", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "end-user-action", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "find-references", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "focus-location", callback: (object: SourceLocation) => void, after?: boolean): EventEmitter
  • on(sigName: "format-selection", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "goto-definition", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "hide-completion", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "increase-font-size", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "indent-selection", callback: (object: number) => void, after?: boolean): EventEmitter
  • on(sigName: "insert-modifier", callback: (useCount: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "jump", callback: (object: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • on(sigName: "move-error", callback: (dir: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • on(sigName: "move-search", callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void, after?: boolean): EventEmitter
  • on(sigName: "movement", callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "paste-clipboard-extended", callback: (object: boolean, p0: boolean, p1: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "pop-selection", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "pop-snippet", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "push-selection", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "push-snippet", callback: (snippet: SourceSnippet, iter?: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • on(sigName: "rebuild-highlight", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "reindent", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "remove-cursors", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "replay-macro", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "request-documentation", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "reset-font-size", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "restore-insert-mark", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "save-command", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "save-insert-mark", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "save-search-char", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "select-inner", callback: (object: string, p0: string, p1: boolean, p2: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "select-tag", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-theatric", callback: (object: SourceViewTheatric) => void, after?: boolean): EventEmitter
  • on(sigName: "set-mode", callback: (object: string, p0: SourceViewModeType) => void, after?: boolean): EventEmitter
  • on(sigName: "set-overwrite", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "set-search-text", callback: (object: string, p0: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "sort", callback: (ignoreCase: boolean, reverse: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "swap-selection-bounds", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "change-case", callback: (caseType: GtkSource.ChangeCaseType) => void, after?: boolean): EventEmitter
  • on(sigName: "change-number", callback: (count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "join-lines", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "line-mark-activated", callback: (iter: Gtk.TextIter, event: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "move-lines", callback: (copy: boolean, count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "move-to-matching-bracket", callback: (extendSelection: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "move-words", callback: (count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "redo", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "show-completion", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "smart-home-end", callback: (iter: Gtk.TextIter, count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "undo", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "backspace", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "copy-clipboard", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "cut-clipboard", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "delete-from-cursor", callback: (type: Gtk.DeleteType, count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "extend-selection", callback: (granularity: Gtk.TextExtendSelection, location: Gtk.TextIter, start: Gtk.TextIter, end: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • on(sigName: "insert-at-cursor", callback: (string: string) => void, after?: boolean): EventEmitter
  • on(sigName: "insert-emoji", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "move-cursor", callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "move-viewport", callback: (step: Gtk.ScrollStep, count: number) => void, after?: boolean): EventEmitter
  • on(sigName: "paste-clipboard", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "populate-popup", callback: (popup: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "preedit-changed", callback: (preedit: string) => void, after?: boolean): EventEmitter
  • on(sigName: "select-all", callback: (select: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "set-anchor", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "toggle-cursor-visible", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "toggle-overwrite", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "add", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "check-resize", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "remove", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "set-focus-child", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "accel-closures-changed", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "button-press-event", callback: (event: Gdk.EventButton) => void, after?: boolean): EventEmitter
  • on(sigName: "button-release-event", callback: (event: Gdk.EventButton) => void, after?: boolean): EventEmitter
  • on(sigName: "can-activate-accel", callback: (signalId: number) => void, after?: boolean): EventEmitter
  • on(sigName: "child-notify", callback: (childProperty: ParamSpec) => void, after?: boolean): EventEmitter
  • on(sigName: "composited-changed", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "configure-event", callback: (event: Gdk.EventConfigure) => void, after?: boolean): EventEmitter
  • on(sigName: "damage-event", callback: (event: Gdk.EventExpose) => void, after?: boolean): EventEmitter
  • on(sigName: "delete-event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "destroy", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "destroy-event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "direction-changed", callback: (previousDirection: Gtk.TextDirection) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-begin", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-data-delete", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-data-get", callback: (context: Gdk.DragContext, data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-data-received", callback: (context: Gdk.DragContext, x: number, y: number, data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-drop", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-end", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-failed", callback: (context: Gdk.DragContext, result: Gtk.DragResult) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-leave", callback: (context: Gdk.DragContext, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "drag-motion", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "draw", callback: (cr: cairo.Context) => void, after?: boolean): EventEmitter
  • on(sigName: "enter-notify-event", callback: (event: Gdk.EventCrossing) => void, after?: boolean): EventEmitter
  • on(sigName: "event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "event-after", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "focus", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • on(sigName: "focus-in-event", callback: (event: Gdk.EventFocus) => void, after?: boolean): EventEmitter
  • on(sigName: "focus-out-event", callback: (event: Gdk.EventFocus) => void, after?: boolean): EventEmitter
  • on(sigName: "grab-broken-event", callback: (event: Gdk.EventGrabBroken) => void, after?: boolean): EventEmitter
  • on(sigName: "grab-focus", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "grab-notify", callback: (wasGrabbed: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "hide", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "hierarchy-changed", callback: (previousToplevel?: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "key-press-event", callback: (event: Gdk.EventKey) => void, after?: boolean): EventEmitter
  • on(sigName: "key-release-event", callback: (event: Gdk.EventKey) => void, after?: boolean): EventEmitter
  • on(sigName: "keynav-failed", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • on(sigName: "leave-notify-event", callback: (event: Gdk.EventCrossing) => void, after?: boolean): EventEmitter
  • on(sigName: "map", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "map-event", callback: (event: Gdk.EventAny) => void, after?: boolean): EventEmitter
  • on(sigName: "mnemonic-activate", callback: (groupCycling: boolean) => void, after?: boolean): EventEmitter
  • on(sigName: "motion-notify-event", callback: (event: Gdk.EventMotion) => void, after?: boolean): EventEmitter
  • on(sigName: "move-focus", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • on(sigName: "parent-set", callback: (oldParent?: Gtk.Widget) => void, after?: boolean): EventEmitter
  • on(sigName: "popup-menu", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "property-notify-event", callback: (event: Gdk.EventProperty) => void, after?: boolean): EventEmitter
  • on(sigName: "proximity-in-event", callback: (event: Gdk.EventProximity) => void, after?: boolean): EventEmitter
  • on(sigName: "proximity-out-event", callback: (event: Gdk.EventProximity) => void, after?: boolean): EventEmitter
  • on(sigName: "query-tooltip", callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void, after?: boolean): EventEmitter
  • on(sigName: "realize", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "screen-changed", callback: (previousScreen?: Gdk.Screen) => void, after?: boolean): EventEmitter
  • on(sigName: "scroll-event", callback: (event: Gdk.EventScroll) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-clear-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-get", callback: (data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-notify-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-received", callback: (data: Gtk.SelectionData, time: number) => void, after?: boolean): EventEmitter
  • on(sigName: "selection-request-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • on(sigName: "show", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "show-help", callback: (helpType: Gtk.WidgetHelpType) => void, after?: boolean): EventEmitter
  • on(sigName: "size-allocate", callback: (allocation: Gdk.Rectangle) => void, after?: boolean): EventEmitter
  • on(sigName: "state-changed", callback: (state: Gtk.StateType) => void, after?: boolean): EventEmitter
  • on(sigName: "state-flags-changed", callback: (flags: Gtk.StateFlags) => void, after?: boolean): EventEmitter
  • on(sigName: "style-set", callback: (previousStyle?: Gtk.Style) => void, after?: boolean): EventEmitter
  • on(sigName: "style-updated", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "touch-event", callback: (object: Gdk.Event) => void, after?: boolean): EventEmitter
  • on(sigName: "unmap", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "unmap-event", callback: (event: Gdk.EventAny) => void, after?: boolean): EventEmitter
  • on(sigName: "unrealize", callback: () => void, after?: boolean): EventEmitter
  • on(sigName: "visibility-notify-event", callback: (event: Gdk.EventVisibility) => void, after?: boolean): EventEmitter
  • on(sigName: "window-state-event", callback: (event: Gdk.EventWindowState) => void, after?: boolean): EventEmitter
  • on(sigName: "notify", callback: (pspec: ParamSpec) => void, after?: boolean): EventEmitter
  • on(sigName: "notify::back-forward-list", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::count", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::enable-word-completion", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::file-settings", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::font-desc", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::font-name", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::indent-style", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::indenter", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::insert-matching-brace", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::mode-display-name", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::overscroll", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::overwrite-braces", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::rubberband-search", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::scroll-offset", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::search-context", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::search-direction", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-grid-lines", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-line-changes", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-line-diagnostics", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-search-bubbles", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-search-shadow", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::snippet-completion", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::spell-checking", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::auto-indent", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::background-pattern", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::completion", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::draw-spaces", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::highlight-current-line", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::indent-on-tab", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::indent-width", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::insert-spaces-instead-of-tabs", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::right-margin-position", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-line-marks", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-line-numbers", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::show-right-margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::smart-backspace", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::smart-home-end", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::space-drawer", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::tab-width", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::accepts-tab", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::bottom-margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::buffer", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::cursor-visible", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::editable", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::im-module", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::indent", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::input-hints", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::input-purpose", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::justification", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::left-margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::monospace", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::overwrite", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::pixels-above-lines", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::pixels-below-lines", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::pixels-inside-wrap", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::populate-all", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::right-margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::tabs", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::top-margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::wrap-mode", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::border-width", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::child", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::resize-mode", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::app-paintable", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::can-default", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::can-focus", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::composite-child", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::double-buffered", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::events", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::expand", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::focus-on-click", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::halign", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::has-default", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::has-focus", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::has-tooltip", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::height-request", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::hexpand", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::hexpand-set", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::is-focus", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-bottom", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-end", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-left", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-right", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-start", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::margin-top", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::name", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::no-show-all", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::opacity", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::receives-default", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::scale-factor", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::sensitive", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::style", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::tooltip-markup", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::tooltip-text", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::valign", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::vexpand", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::vexpand-set", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::visible", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::width-request", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::window", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::hadjustment", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::hscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::vadjustment", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: "notify::vscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • on(sigName: string, callback: any): EventEmitter
  • Parameters

    • sigName: "action"
    • callback: (object: string, p0: string, p1: string) => void
        • (object: string, p0: string, p1: string): void
        • Parameters

          • object: string
          • p0: string
          • p1: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "append-to-count"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-macro"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-rename"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-user-action"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "capture-modifier"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-count"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-modifier"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-search"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-snippets"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "decrease-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "delete-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "duplicate-entire-line"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "end-macro"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "end-user-action"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "find-references"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "format-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "goto-definition"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hide-completion"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "increase-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "indent-selection"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "insert-modifier"
    • callback: (useCount: boolean) => void
        • (useCount: boolean): void
        • Parameters

          • useCount: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-search"
    • callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void
        • (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number): void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "movement"
    • callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard-extended"
    • callback: (object: boolean, p0: boolean, p1: boolean) => void
        • (object: boolean, p0: boolean, p1: boolean): void
        • Parameters

          • object: boolean
          • p0: boolean
          • p1: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "pop-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "pop-snippet"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "push-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "rebuild-highlight"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "reindent"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "remove-cursors"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "replay-macro"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "request-documentation"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "reset-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "restore-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-command"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-search-char"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-inner"
    • callback: (object: string, p0: string, p1: boolean, p2: boolean) => void
        • (object: string, p0: string, p1: boolean, p2: boolean): void
        • Parameters

          • object: string
          • p0: string
          • p1: boolean
          • p2: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-tag"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "set-overwrite"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-search-text"
    • callback: (object: string, p0: boolean) => void
        • (object: string, p0: boolean): void
        • Parameters

          • object: string
          • p0: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "sort"
    • callback: (ignoreCase: boolean, reverse: boolean) => void
        • (ignoreCase: boolean, reverse: boolean): void
        • Parameters

          • ignoreCase: boolean
          • reverse: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "swap-selection-bounds"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "change-number"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "join-lines"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-lines"
    • callback: (copy: boolean, count: number) => void
        • (copy: boolean, count: number): void
        • Parameters

          • copy: boolean
          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-to-matching-bracket"
    • callback: (extendSelection: boolean) => void
        • (extendSelection: boolean): void
        • Parameters

          • extendSelection: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-words"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "redo"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "show-completion"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "smart-home-end"
    • callback: (iter: Gtk.TextIter, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "undo"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "backspace"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "copy-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "cut-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "delete-from-cursor"
    • callback: (type: Gtk.DeleteType, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "insert-at-cursor"
    • callback: (string: string) => void
        • (string: string): void
        • Parameters

          • string: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "insert-emoji"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-cursor"
    • callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-viewport"
    • callback: (step: Gtk.ScrollStep, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "populate-popup"
    • callback: (popup: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "preedit-changed"
    • callback: (preedit: string) => void
        • (preedit: string): void
        • Parameters

          • preedit: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-all"
    • callback: (select: boolean) => void
        • (select: boolean): void
        • Parameters

          • select: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-anchor"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-cursor-visible"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-overwrite"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "add"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "check-resize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "remove"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-focus-child"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "accel-closures-changed"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "can-activate-accel"
    • callback: (signalId: number) => void
        • (signalId: number): void
        • Parameters

          • signalId: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "child-notify"
    • callback: (childProperty: ParamSpec) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "composited-changed"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "delete-event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "destroy"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "destroy-event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-drop"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-motion"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "event-after"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "grab-focus"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "grab-notify"
    • callback: (wasGrabbed: boolean) => void
        • (wasGrabbed: boolean): void
        • Parameters

          • wasGrabbed: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hide"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hierarchy-changed"
    • callback: (previousToplevel?: Gtk.Widget) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "map"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "mnemonic-activate"
    • callback: (groupCycling: boolean) => void
        • (groupCycling: boolean): void
        • Parameters

          • groupCycling: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "parent-set"
    • callback: (oldParent?: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "popup-menu"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "query-tooltip"
    • callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void
        • (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip): void
        • Parameters

          • x: number
          • y: number
          • keyboardMode: boolean
          • tooltip: Gtk.Tooltip

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "realize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "screen-changed"
    • callback: (previousScreen?: Gdk.Screen) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "selection-get"
    • callback: (data: Gtk.SelectionData, info: number, time: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "show"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "style-set"
    • callback: (previousStyle?: Gtk.Style) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "style-updated"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "touch-event"
    • callback: (object: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "unmap"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "unrealize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify"
    • callback: (pspec: ParamSpec) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::back-forward-list"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::count"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::enable-word-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::file-settings"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-desc"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indenter"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-matching-brace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mode-display-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overscroll"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite-braces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::rubberband-search"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scroll-offset"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-context"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-direction"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-grid-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-changes"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-diagnostics"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-bubbles"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-shadow"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::snippet-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::spell-checking"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::auto-indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::background-pattern"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::draw-spaces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::highlight-current-line"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-on-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-spaces-instead-of-tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin-position"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-marks"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-numbers"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-backspace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-home-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::space-drawer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tab-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accepts-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::bottom-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::buffer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::cursor-visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::editable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::im-module"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-hints"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-purpose"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::justification"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::left-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::monospace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-above-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-below-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-inside-wrap"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::populate-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::top-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::border-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::expand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-click"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::halign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-bottom"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-left"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-right"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-start"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-top"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scale-factor"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::valign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: any

    Returns EventEmitter

  • once(sigName: "action", callback: (object: string, p0: string, p1: string) => void, after?: boolean): EventEmitter
  • once(sigName: "add-cursor", callback: (object: Ide.CursorType) => void, after?: boolean): EventEmitter
  • once(sigName: "append-to-count", callback: (object: number) => void, after?: boolean): EventEmitter
  • once(sigName: "begin-macro", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "begin-rename", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "begin-user-action", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "capture-modifier", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "clear-count", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "clear-modifier", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "clear-search", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "clear-selection", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "clear-snippets", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "cycle-completion", callback: (object: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • once(sigName: "decrease-font-size", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "delete-selection", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "duplicate-entire-line", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "end-macro", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "end-user-action", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "find-references", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "focus-location", callback: (object: SourceLocation) => void, after?: boolean): EventEmitter
  • once(sigName: "format-selection", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "goto-definition", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "hide-completion", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "increase-font-size", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "indent-selection", callback: (object: number) => void, after?: boolean): EventEmitter
  • once(sigName: "insert-modifier", callback: (useCount: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "jump", callback: (object: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • once(sigName: "move-error", callback: (dir: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • once(sigName: "move-search", callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void, after?: boolean): EventEmitter
  • once(sigName: "movement", callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "paste-clipboard-extended", callback: (object: boolean, p0: boolean, p1: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "pop-selection", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "pop-snippet", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "push-selection", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "push-snippet", callback: (snippet: SourceSnippet, iter?: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • once(sigName: "rebuild-highlight", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "reindent", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "remove-cursors", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "replay-macro", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "request-documentation", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "reset-font-size", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "restore-insert-mark", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "save-command", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "save-insert-mark", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "save-search-char", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "select-inner", callback: (object: string, p0: string, p1: boolean, p2: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "select-tag", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-theatric", callback: (object: SourceViewTheatric) => void, after?: boolean): EventEmitter
  • once(sigName: "set-mode", callback: (object: string, p0: SourceViewModeType) => void, after?: boolean): EventEmitter
  • once(sigName: "set-overwrite", callback: (object: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "set-search-text", callback: (object: string, p0: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "sort", callback: (ignoreCase: boolean, reverse: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "swap-selection-bounds", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "change-case", callback: (caseType: GtkSource.ChangeCaseType) => void, after?: boolean): EventEmitter
  • once(sigName: "change-number", callback: (count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "join-lines", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "line-mark-activated", callback: (iter: Gtk.TextIter, event: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "move-lines", callback: (copy: boolean, count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "move-to-matching-bracket", callback: (extendSelection: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "move-words", callback: (count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "redo", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "show-completion", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "smart-home-end", callback: (iter: Gtk.TextIter, count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "undo", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "backspace", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "copy-clipboard", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "cut-clipboard", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "delete-from-cursor", callback: (type: Gtk.DeleteType, count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "extend-selection", callback: (granularity: Gtk.TextExtendSelection, location: Gtk.TextIter, start: Gtk.TextIter, end: Gtk.TextIter) => void, after?: boolean): EventEmitter
  • once(sigName: "insert-at-cursor", callback: (string: string) => void, after?: boolean): EventEmitter
  • once(sigName: "insert-emoji", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "move-cursor", callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "move-viewport", callback: (step: Gtk.ScrollStep, count: number) => void, after?: boolean): EventEmitter
  • once(sigName: "paste-clipboard", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "populate-popup", callback: (popup: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "preedit-changed", callback: (preedit: string) => void, after?: boolean): EventEmitter
  • once(sigName: "select-all", callback: (select: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "set-anchor", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "toggle-cursor-visible", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "toggle-overwrite", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "add", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "check-resize", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "remove", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "set-focus-child", callback: (object: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "accel-closures-changed", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "button-press-event", callback: (event: Gdk.EventButton) => void, after?: boolean): EventEmitter
  • once(sigName: "button-release-event", callback: (event: Gdk.EventButton) => void, after?: boolean): EventEmitter
  • once(sigName: "can-activate-accel", callback: (signalId: number) => void, after?: boolean): EventEmitter
  • once(sigName: "child-notify", callback: (childProperty: ParamSpec) => void, after?: boolean): EventEmitter
  • once(sigName: "composited-changed", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "configure-event", callback: (event: Gdk.EventConfigure) => void, after?: boolean): EventEmitter
  • once(sigName: "damage-event", callback: (event: Gdk.EventExpose) => void, after?: boolean): EventEmitter
  • once(sigName: "delete-event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "destroy", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "destroy-event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "direction-changed", callback: (previousDirection: Gtk.TextDirection) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-begin", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-data-delete", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-data-get", callback: (context: Gdk.DragContext, data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-data-received", callback: (context: Gdk.DragContext, x: number, y: number, data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-drop", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-end", callback: (context: Gdk.DragContext) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-failed", callback: (context: Gdk.DragContext, result: Gtk.DragResult) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-leave", callback: (context: Gdk.DragContext, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "drag-motion", callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "draw", callback: (cr: cairo.Context) => void, after?: boolean): EventEmitter
  • once(sigName: "enter-notify-event", callback: (event: Gdk.EventCrossing) => void, after?: boolean): EventEmitter
  • once(sigName: "event", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "event-after", callback: (event: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "focus", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • once(sigName: "focus-in-event", callback: (event: Gdk.EventFocus) => void, after?: boolean): EventEmitter
  • once(sigName: "focus-out-event", callback: (event: Gdk.EventFocus) => void, after?: boolean): EventEmitter
  • once(sigName: "grab-broken-event", callback: (event: Gdk.EventGrabBroken) => void, after?: boolean): EventEmitter
  • once(sigName: "grab-focus", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "grab-notify", callback: (wasGrabbed: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "hide", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "hierarchy-changed", callback: (previousToplevel?: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "key-press-event", callback: (event: Gdk.EventKey) => void, after?: boolean): EventEmitter
  • once(sigName: "key-release-event", callback: (event: Gdk.EventKey) => void, after?: boolean): EventEmitter
  • once(sigName: "keynav-failed", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • once(sigName: "leave-notify-event", callback: (event: Gdk.EventCrossing) => void, after?: boolean): EventEmitter
  • once(sigName: "map", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "map-event", callback: (event: Gdk.EventAny) => void, after?: boolean): EventEmitter
  • once(sigName: "mnemonic-activate", callback: (groupCycling: boolean) => void, after?: boolean): EventEmitter
  • once(sigName: "motion-notify-event", callback: (event: Gdk.EventMotion) => void, after?: boolean): EventEmitter
  • once(sigName: "move-focus", callback: (direction: Gtk.DirectionType) => void, after?: boolean): EventEmitter
  • once(sigName: "parent-set", callback: (oldParent?: Gtk.Widget) => void, after?: boolean): EventEmitter
  • once(sigName: "popup-menu", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "property-notify-event", callback: (event: Gdk.EventProperty) => void, after?: boolean): EventEmitter
  • once(sigName: "proximity-in-event", callback: (event: Gdk.EventProximity) => void, after?: boolean): EventEmitter
  • once(sigName: "proximity-out-event", callback: (event: Gdk.EventProximity) => void, after?: boolean): EventEmitter
  • once(sigName: "query-tooltip", callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void, after?: boolean): EventEmitter
  • once(sigName: "realize", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "screen-changed", callback: (previousScreen?: Gdk.Screen) => void, after?: boolean): EventEmitter
  • once(sigName: "scroll-event", callback: (event: Gdk.EventScroll) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-clear-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-get", callback: (data: Gtk.SelectionData, info: number, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-notify-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-received", callback: (data: Gtk.SelectionData, time: number) => void, after?: boolean): EventEmitter
  • once(sigName: "selection-request-event", callback: (event: Gdk.EventSelection) => void, after?: boolean): EventEmitter
  • once(sigName: "show", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "show-help", callback: (helpType: Gtk.WidgetHelpType) => void, after?: boolean): EventEmitter
  • once(sigName: "size-allocate", callback: (allocation: Gdk.Rectangle) => void, after?: boolean): EventEmitter
  • once(sigName: "state-changed", callback: (state: Gtk.StateType) => void, after?: boolean): EventEmitter
  • once(sigName: "state-flags-changed", callback: (flags: Gtk.StateFlags) => void, after?: boolean): EventEmitter
  • once(sigName: "style-set", callback: (previousStyle?: Gtk.Style) => void, after?: boolean): EventEmitter
  • once(sigName: "style-updated", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "touch-event", callback: (object: Gdk.Event) => void, after?: boolean): EventEmitter
  • once(sigName: "unmap", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "unmap-event", callback: (event: Gdk.EventAny) => void, after?: boolean): EventEmitter
  • once(sigName: "unrealize", callback: () => void, after?: boolean): EventEmitter
  • once(sigName: "visibility-notify-event", callback: (event: Gdk.EventVisibility) => void, after?: boolean): EventEmitter
  • once(sigName: "window-state-event", callback: (event: Gdk.EventWindowState) => void, after?: boolean): EventEmitter
  • once(sigName: "notify", callback: (pspec: ParamSpec) => void, after?: boolean): EventEmitter
  • once(sigName: "notify::back-forward-list", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::count", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::enable-word-completion", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::file-settings", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::font-desc", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::font-name", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::indent-style", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::indenter", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::insert-matching-brace", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::mode-display-name", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::overscroll", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::overwrite-braces", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::rubberband-search", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::scroll-offset", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::search-context", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::search-direction", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-grid-lines", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-line-changes", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-line-diagnostics", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-search-bubbles", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-search-shadow", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::snippet-completion", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::spell-checking", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::auto-indent", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::background-pattern", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::completion", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::draw-spaces", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::highlight-current-line", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::indent-on-tab", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::indent-width", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::insert-spaces-instead-of-tabs", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::right-margin-position", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-line-marks", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-line-numbers", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::show-right-margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::smart-backspace", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::smart-home-end", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::space-drawer", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::tab-width", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::accepts-tab", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::bottom-margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::buffer", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::cursor-visible", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::editable", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::im-module", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::indent", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::input-hints", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::input-purpose", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::justification", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::left-margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::monospace", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::overwrite", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::pixels-above-lines", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::pixels-below-lines", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::pixels-inside-wrap", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::populate-all", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::right-margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::tabs", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::top-margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::wrap-mode", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::border-width", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::child", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::resize-mode", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::app-paintable", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::can-default", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::can-focus", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::composite-child", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::double-buffered", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::events", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::expand", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::focus-on-click", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::halign", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::has-default", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::has-focus", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::has-tooltip", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::height-request", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::hexpand", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::hexpand-set", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::is-focus", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-bottom", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-end", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-left", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-right", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-start", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::margin-top", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::name", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::no-show-all", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::opacity", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::receives-default", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::scale-factor", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::sensitive", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::style", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::tooltip-markup", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::tooltip-text", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::valign", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::vexpand", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::vexpand-set", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::visible", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::width-request", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::window", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::hadjustment", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::hscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::vadjustment", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: "notify::vscroll-policy", callback: (...args: any[]) => void): EventEmitter
  • once(sigName: string, callback: any): EventEmitter
  • Parameters

    • sigName: "action"
    • callback: (object: string, p0: string, p1: string) => void
        • (object: string, p0: string, p1: string): void
        • Parameters

          • object: string
          • p0: string
          • p1: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "append-to-count"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-macro"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-rename"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "begin-user-action"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "capture-modifier"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-count"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-modifier"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-search"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "clear-snippets"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "decrease-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "delete-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "duplicate-entire-line"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "end-macro"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "end-user-action"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "find-references"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "format-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "goto-definition"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hide-completion"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "increase-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "indent-selection"
    • callback: (object: number) => void
        • (object: number): void
        • Parameters

          • object: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "insert-modifier"
    • callback: (useCount: boolean) => void
        • (useCount: boolean): void
        • Parameters

          • useCount: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-search"
    • callback: (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number) => void
        • (object: Gtk.DirectionType, p0: boolean, p1: boolean, p2: boolean, p3: boolean, p4: number): void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "movement"
    • callback: (object: SourceViewMovement, p0: boolean, p1: boolean, p2: boolean) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard-extended"
    • callback: (object: boolean, p0: boolean, p1: boolean) => void
        • (object: boolean, p0: boolean, p1: boolean): void
        • Parameters

          • object: boolean
          • p0: boolean
          • p1: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "pop-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "pop-snippet"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "push-selection"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "rebuild-highlight"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "reindent"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "remove-cursors"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "replay-macro"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "request-documentation"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "reset-font-size"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "restore-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-command"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-insert-mark"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "save-search-char"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-inner"
    • callback: (object: string, p0: string, p1: boolean, p2: boolean) => void
        • (object: string, p0: string, p1: boolean, p2: boolean): void
        • Parameters

          • object: string
          • p0: string
          • p1: boolean
          • p2: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-tag"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "set-overwrite"
    • callback: (object: boolean) => void
        • (object: boolean): void
        • Parameters

          • object: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-search-text"
    • callback: (object: string, p0: boolean) => void
        • (object: string, p0: boolean): void
        • Parameters

          • object: string
          • p0: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "sort"
    • callback: (ignoreCase: boolean, reverse: boolean) => void
        • (ignoreCase: boolean, reverse: boolean): void
        • Parameters

          • ignoreCase: boolean
          • reverse: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "swap-selection-bounds"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "change-number"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "join-lines"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "move-lines"
    • callback: (copy: boolean, count: number) => void
        • (copy: boolean, count: number): void
        • Parameters

          • copy: boolean
          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-to-matching-bracket"
    • callback: (extendSelection: boolean) => void
        • (extendSelection: boolean): void
        • Parameters

          • extendSelection: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-words"
    • callback: (count: number) => void
        • (count: number): void
        • Parameters

          • count: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "redo"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "show-completion"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "smart-home-end"
    • callback: (iter: Gtk.TextIter, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "undo"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "backspace"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "copy-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "cut-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "delete-from-cursor"
    • callback: (type: Gtk.DeleteType, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "insert-at-cursor"
    • callback: (string: string) => void
        • (string: string): void
        • Parameters

          • string: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "insert-emoji"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-cursor"
    • callback: (step: Gtk.MovementStep, count: number, extendSelection: boolean) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "move-viewport"
    • callback: (step: Gtk.ScrollStep, count: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "paste-clipboard"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "populate-popup"
    • callback: (popup: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "preedit-changed"
    • callback: (preedit: string) => void
        • (preedit: string): void
        • Parameters

          • preedit: string

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "select-all"
    • callback: (select: boolean) => void
        • (select: boolean): void
        • Parameters

          • select: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-anchor"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-cursor-visible"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "toggle-overwrite"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "add"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "check-resize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "remove"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "set-focus-child"
    • callback: (object: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "accel-closures-changed"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "can-activate-accel"
    • callback: (signalId: number) => void
        • (signalId: number): void
        • Parameters

          • signalId: number

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "child-notify"
    • callback: (childProperty: ParamSpec) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "composited-changed"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "delete-event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "destroy"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "destroy-event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-drop"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "drag-motion"
    • callback: (context: Gdk.DragContext, x: number, y: number, time: number) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "event"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "event-after"
    • callback: (event: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "grab-focus"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "grab-notify"
    • callback: (wasGrabbed: boolean) => void
        • (wasGrabbed: boolean): void
        • Parameters

          • wasGrabbed: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hide"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "hierarchy-changed"
    • callback: (previousToplevel?: Gtk.Widget) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "map"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "mnemonic-activate"
    • callback: (groupCycling: boolean) => void
        • (groupCycling: boolean): void
        • Parameters

          • groupCycling: boolean

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "parent-set"
    • callback: (oldParent?: Gtk.Widget) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "popup-menu"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "query-tooltip"
    • callback: (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip) => void
        • (x: number, y: number, keyboardMode: boolean, tooltip: Gtk.Tooltip): void
        • Parameters

          • x: number
          • y: number
          • keyboardMode: boolean
          • tooltip: Gtk.Tooltip

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "realize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "screen-changed"
    • callback: (previousScreen?: Gdk.Screen) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "selection-get"
    • callback: (data: Gtk.SelectionData, info: number, time: number) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "show"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "style-set"
    • callback: (previousStyle?: Gtk.Style) => void
        • Parameters

          Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "style-updated"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "touch-event"
    • callback: (object: Gdk.Event) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "unmap"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "unrealize"
    • callback: () => void
        • (): void
        • Returns void

    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    Returns EventEmitter

  • Parameters

    • sigName: "notify"
    • callback: (pspec: ParamSpec) => void
    • Optional after: boolean

    Returns EventEmitter

  • Parameters

    • sigName: "notify::back-forward-list"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::count"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::enable-word-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::file-settings"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-desc"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::font-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indenter"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-matching-brace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::mode-display-name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overscroll"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite-braces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::rubberband-search"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scroll-offset"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-context"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::search-direction"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-grid-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-changes"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-diagnostics"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-bubbles"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-search-shadow"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::snippet-completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::spell-checking"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::auto-indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::background-pattern"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::completion"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::draw-spaces"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::highlight-current-line"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-on-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::insert-spaces-instead-of-tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin-position"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-marks"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-line-numbers"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::show-right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-backspace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::smart-home-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::space-drawer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tab-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::accepts-tab"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::bottom-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::buffer"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::cursor-visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::editable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::im-module"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::indent"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-hints"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::input-purpose"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::justification"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::left-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::monospace"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::overwrite"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-above-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-below-lines"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::pixels-inside-wrap"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::populate-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::right-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tabs"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::top-margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::wrap-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::border-width"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::resize-mode"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::app-paintable"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::can-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::composite-child"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::double-buffered"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::events"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::expand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::focus-on-click"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::halign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::has-tooltip"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::height-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::is-focus"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-bottom"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-end"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-left"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-right"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-start"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::margin-top"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::name"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::no-show-all"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::opacity"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::receives-default"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::scale-factor"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::sensitive"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::style"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-markup"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::tooltip-text"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::valign"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vexpand-set"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::visible"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::width-request"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::window"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::hscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vadjustment"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: "notify::vscroll-policy"
    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns EventEmitter

  • Parameters

    • sigName: string
    • callback: any

    Returns EventEmitter

  • Sets the background color to use for a widget.

    All other style values are left untouched. See gtk_widget_override_color().

    Parameters

    Returns void

  • Sets the color to use for a widget.

    All other style values are left untouched.

    This function does not act recursively. Setting the color of a container does not affect its children. Note that some widgets that you may not think of as containers, for instance #GtkButtons, are actually containers.

    This API is mostly meant as a quick way for applications to change a widget appearance. If you are developing a widgets library and intend this change to be themeable, it is better done by setting meaningful CSS classes in your widget/container implementation through gtk_style_context_add_class().

    This way, your widget library can install a #GtkCssProvider with the %GTK_STYLE_PROVIDER_PRIORITY_FALLBACK priority in order to provide a default styling for those widgets that need so, and this theming may fully overridden by the user’s theme.

    Note that for complex widgets this may bring in undesired results (such as uniform background color everywhere), in these cases it is better to fully style such widgets through a #GtkCssProvider with the %GTK_STYLE_PROVIDER_PRIORITY_APPLICATION priority.

    Parameters

    Returns void

  • Sets the cursor color to use in a widget, overriding the cursor-color and secondary-cursor-color style properties. All other style values are left untouched. See also gtk_widget_modify_style().

    Note that the underlying properties have the #GdkColor type, so the alpha value in primary and secondary will be ignored.

    Parameters

    Returns void

  • Sets the font to use for a widget. All other style values are left untouched. See gtk_widget_override_color().

    Parameters

    Returns void

  • overrideSymbolicColor(name: string, color?: Gdk.RGBA): void
  • Sets a symbolic color for a widget.

    All other style values are left untouched. See gtk_widget_override_color() for overriding the foreground or background color.

    Parameters

    • name: string
    • Optional color: Gdk.RGBA

    Returns void

  • Called when the builder finishes the parsing of a [GtkBuilder UI definition][BUILDER-UI]. Note that this will be called once for each time gtk_builder_add_from_file() or gtk_builder_add_from_string() is called on a builder.

    Parameters

    Returns void

  • path(): [number, string, string]
  • Obtains the full path to widget. The path is simply the name of a widget and all its parents in the container hierarchy, separated by periods. The name of a widget comes from gtk_widget_get_name(). Paths are used to apply styles to a widget in gtkrc configuration files. Widget names are the type of the widget by default (e.g. “GtkButton”) or can be set to an application-specific value with gtk_widget_set_name(). By setting the name of a widget, you allow users or theme authors to apply styles to that specific widget in their gtkrc file. path_reversed_p fills in the path in reverse order, i.e. starting with widget’s name instead of starting with the name of widget’s outermost ancestor.

    Returns [number, string, string]

  • placeCursorOnscreen(): boolean
  • popSnippet(): void
  • When a container receives a call to the draw function, it must send synthetic #GtkWidget::draw calls to all children that don’t have their own #GdkWindows. This function provides a convenient way of doing this. A container, when it receives a call to its #GtkWidget::draw function, calls gtk_container_propagate_draw() once for each child, passing in the cr the container received.

    gtk_container_propagate_draw() takes care of translating the origin of cr, and deciding whether the draw needs to be sent to the child. It is a convenient and optimized way of getting the same effect as calling gtk_widget_draw() on the child directly.

    In most cases, a container can simply either inherit the #GtkWidget::draw implementation from #GtkContainer, or do some drawing and then chain to the ::draw implementation from #GtkContainer.

    Parameters

    Returns void

  • queueAllocate(): void
  • This function is only for use in widget implementations.

    Flags the widget for a rerun of the GtkWidgetClass::size_allocate function. Use this function instead of gtk_widget_queue_resize() when the widget's size request didn't change but it wants to reposition its contents.

    An example user of this function is gtk_widget_set_halign().

    Returns void

  • queueComputeExpand(): void
  • Mark widget as needing to recompute its expand flags. Call this function when setting legacy expand child properties on the child of a container.

    See gtk_widget_compute_expand().

    Returns void

  • queueDraw(): void
  • Equivalent to calling gtk_widget_queue_draw_area() for the entire area of a widget.

    Returns void

  • queueDrawArea(x: number, y: number, width: number, height: number): void
  • Convenience function that calls gtk_widget_queue_draw_region() on the region created from the given coordinates.

    The region here is specified in widget coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as widget->window coordinates for widgets that return %TRUE for gtk_widget_get_has_window(), and are relative to widget->allocation.x, widget->allocation.y otherwise.

    width or height may be 0, in this case this function does nothing. Negative values for width and height are not allowed.

    Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • Invalidates the area of widget defined by region by calling gdk_window_invalidate_region() on the widget’s window and all its child windows. Once the main loop becomes idle (after the current batch of events has been processed, roughly), the window will receive expose events for the union of all regions that have been invalidated.

    Normally you would only use this function in widget implementations. You might also use it to schedule a redraw of a #GtkDrawingArea or some portion thereof.

    Parameters

    Returns void

  • queueResize(): void
  • This function is only for use in widget implementations. Flags a widget to have its size renegotiated; should be called when a widget for some reason has a new size request. For example, when you change the text in a #GtkLabel, #GtkLabel queues a resize to ensure there’s enough space for the new text.

    Note that you cannot call gtk_widget_queue_resize() on a widget from inside its implementation of the GtkWidgetClass::size_allocate virtual method. Calls to gtk_widget_queue_resize() from inside GtkWidgetClass::size_allocate will be silently ignored.

    Returns void

  • queueResizeNoRedraw(): void
  • This function works like gtk_widget_queue_resize(), except that the widget is not invalidated.

    Returns void

  • realize(): void
  • Creates the GDK (windowing system) resources associated with a widget. For example, widget->window will be created when a widget is realized. Normally realization happens implicitly; if you show a widget and all its parent containers, then the widget will be realized and mapped automatically.

    Realizing a widget requires all the widget’s parent widgets to be realized; calling gtk_widget_realize() realizes the widget’s parents in addition to widget itself. If a widget is not yet inside a toplevel window when you realize it, bad things will happen.

    This function is primarily used in widget implementations, and isn’t very useful otherwise. Many times when you think you might need it, a better approach is to connect to a signal that will be called after the widget is realized automatically, such as #GtkWidget::draw. Or simply g_signal_connect () to the #GtkWidget::realize signal.

    Returns void

  • Increases the reference count of object.

    Since GLib 2.56, if GLIB_VERSION_MAX_ALLOWED is 2.56 or greater, the type of object will be propagated to the return type (using the GCC typeof() extension), so any casting the caller needs to do on the return type must be explicit.

    Returns GObject.Object

  • Increase the reference count of object, and possibly remove the [floating][floating-ref] reference, if object has a floating reference.

    In other words, if the object is floating, then this call "assumes ownership" of the floating reference, converting it to a normal reference by clearing the floating flag while leaving the reference count unchanged. If the object is not floating, then this call adds a new normal reference increasing the reference count by one.

    Since GLib 2.56, the type of object will be propagated to the return type under the same conditions as for g_object_ref().

    Returns GObject.Object

  • Computes the intersection of a widget’s area and region, returning the intersection. The result may be empty, use cairo_region_is_empty() to check.

    Parameters

    Returns cairo.Region

  • Registers a #GdkWindow with the widget and sets it up so that the widget receives events for it. Call gtk_widget_unregister_window() when destroying the window.

    Before 3.8 you needed to call gdk_window_set_user_data() directly to set this up. This is now deprecated and you should use gtk_widget_register_window() instead. Old code will keep working as is, although some new features like transparency might not work perfectly.

    Parameters

    Returns void

  • Removes widget from container. widget must be inside container. Note that container will own a reference to widget, and that this may be the last reference held; so removing a widget from its container can destroy that widget. If you want to use widget again, you need to add a reference to it before removing it from a container, using g_object_ref(). If you don’t want to use widget again it’s usually more efficient to simply destroy it directly using gtk_widget_destroy() since this will remove it from the container and help break any circular reference count cycles.

    Parameters

    Returns void

  • Removes a widget from the list of mnemonic labels for this widget. (See gtk_widget_list_mnemonic_labels()). The widget must have previously been added to the list with gtk_widget_add_mnemonic_label().

    Parameters

    Returns void

  • removeTickCallback(id: number): void
  • Removes a tick callback previously registered with gtk_widget_add_tick_callback().

    Parameters

    • id: number

    Returns void

  • renderIcon(stockId: string, size: number, detail?: string): Pixbuf
  • A convenience function that uses the theme settings for widget to look up stock_id and render it to a pixbuf. stock_id should be a stock icon ID such as #GTK_STOCK_OPEN or #GTK_STOCK_OK. size should be a size such as #GTK_ICON_SIZE_MENU. detail should be a string that identifies the widget or code doing the rendering, so that theme engines can special-case rendering for that widget or code.

    The pixels in the returned #GdkPixbuf are shared with the rest of the application and should not be modified. The pixbuf should be freed after use with g_object_unref().

    Parameters

    • stockId: string
    • size: number
    • Optional detail: string

    Returns Pixbuf

  • renderIconPixbuf(stockId: string, size: number): Pixbuf
  • A convenience function that uses the theme engine and style settings for widget to look up stock_id and render it to a pixbuf. stock_id should be a stock icon ID such as #GTK_STOCK_OPEN or #GTK_STOCK_OK. size should be a size such as #GTK_ICON_SIZE_MENU.

    The pixels in the returned #GdkPixbuf are shared with the rest of the application and should not be modified. The pixbuf should be freed after use with g_object_unref().

    Parameters

    • stockId: string
    • size: number

    Returns Pixbuf

  • Moves a widget from one #GtkContainer to another, handling reference count issues to avoid destroying the widget.

    Parameters

    Returns void

  • resetCursorBlink(): void
  • Ensures that the cursor is shown (i.e. not in an 'off' blink interval) and resets the time that it will stay blinking (or visible, in case blinking is disabled).

    This function should be called in response to user input (e.g. from derived classes that override the textview's #GtkWidget::key-press-event handler).

    Returns void

  • resetImContext(): void
  • Reset the input method context of the text view if needed.

    This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.

    Returns void

  • resetRcStyles(): void
  • Reset the styles of widget and all descendents, so when they are looked up again, they get the correct values for the currently loaded RC file settings.

    This function is not useful for applications.

    Returns void

  • resetStyle(): void
  • Updates the style context of widget and all descendants by updating its widget path. #GtkContainers may want to use this on a child when reordering it in a way that a different style might apply to it. See also gtk_container_get_path_for_child().

    Returns void

  • resizeChildren(): void
  • rollbackSearch(): void
  • runDispose(): void
  • Releases all references to other objects. This can be used to break reference cycles.

    This function should only be called from object system implementations.

    Returns void

  • scrollMarkOnscreen(mark: Gtk.TextMark, useAlign: boolean, alignx: number, aligny: number): void
  • scrollMarkOnscreen(mark: Gtk.TextMark): void
  • Scrolls text_view the minimum distance such that mark is contained within the visible area of the widget.

    Parameters

    • mark: Gtk.TextMark
    • useAlign: boolean
    • alignx: number
    • aligny: number

    Returns void

  • Scrolls text_view the minimum distance such that mark is contained within the visible area of the widget.

    Parameters

    Returns void

  • scrollToIter(iter: Gtk.TextIter, withinMargin: number, useAlign: boolean, xalign: number, yalign: number, animateScroll: boolean): void
  • scrollToIter(iter: Gtk.TextIter, withinMargin: number, useAlign: boolean, xalign: number, yalign: number): boolean
  • Scrolls text_view so that iter is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If use_align is %FALSE, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin.

    Note that this function uses the currently-computed height of the lines in the text buffer. Line heights are computed in an idle handler; so this function may not have the desired effect if it’s called before the height computations. To avoid oddness, consider using gtk_text_view_scroll_to_mark() which saves a point to be scrolled to after line validation.

    Parameters

    • iter: Gtk.TextIter
    • withinMargin: number
    • useAlign: boolean
    • xalign: number
    • yalign: number
    • animateScroll: boolean

    Returns void

  • Scrolls text_view so that iter is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If use_align is %FALSE, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin.

    Note that this function uses the currently-computed height of the lines in the text buffer. Line heights are computed in an idle handler; so this function may not have the desired effect if it’s called before the height computations. To avoid oddness, consider using gtk_text_view_scroll_to_mark() which saves a point to be scrolled to after line validation.

    Parameters

    • iter: Gtk.TextIter
    • withinMargin: number
    • useAlign: boolean
    • xalign: number
    • yalign: number

    Returns boolean

  • scrollToMark(mark: Gtk.TextMark, withinMargin: number, useAlign: boolean, xalign: number, yalign: number, animateScroll: boolean): void
  • scrollToMark(mark: Gtk.TextMark, withinMargin: number, useAlign: boolean, xalign: number, yalign: number): void
  • Scrolls text_view so that mark is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If use_align is %FALSE, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin.

    Parameters

    • mark: Gtk.TextMark
    • withinMargin: number
    • useAlign: boolean
    • xalign: number
    • yalign: number
    • animateScroll: boolean

    Returns void

  • Scrolls text_view so that mark is on the screen in the position indicated by xalign and yalign. An alignment of 0.0 indicates left or top, 1.0 indicates right or bottom, 0.5 means center. If use_align is %FALSE, the text scrolls the minimal distance to get the mark onscreen, possibly not scrolling at all. The effective screen for purposes of this function is reduced by a margin of size within_margin.

    Parameters

    • mark: Gtk.TextMark
    • withinMargin: number
    • useAlign: boolean
    • xalign: number
    • yalign: number

    Returns void

  • Very rarely-used function. This function is used to emit an expose event on a widget. This function is not normally used directly. The only time it is used is when propagating an expose event to a windowless child widget (gtk_widget_get_has_window() is %FALSE), and that is normally done using gtk_container_propagate_draw().

    If you want to force an area of a window to be redrawn, use gdk_window_invalidate_rect() or gdk_window_invalidate_region(). To cause the redraw to be done immediately, follow that call with a call to gdk_window_process_updates().

    Parameters

    Returns number

  • sendFocusChange(event: Gdk.Event): boolean
  • Sends the focus change event to widget

    This function is not meant to be used by applications. The only time it should be used is when it is necessary for a #GtkWidget to assign focus to a widget that is semantically owned by the first widget even though it’s not a direct child - for instance, a search entry in a floating window similar to the quick search in #GtkTreeView.

    An example of its usage is:

      GdkEvent *fevent = gdk_event_new (GDK_FOCUS_CHANGE);

    fevent->focus_change.type = GDK_FOCUS_CHANGE;
    fevent->focus_change.in = TRUE;
    fevent->focus_change.window = _gtk_widget_get_window (widget);
    if (fevent->focus_change.window != NULL)
    g_object_ref (fevent->focus_change.window);

    gtk_widget_send_focus_change (widget, fevent);

    gdk_event_free (event);

    Parameters

    Returns boolean

  • setAccelPath(accelPath?: string, accelGroup?: Gtk.AccelGroup): void
  • Given an accelerator group, accel_group, and an accelerator path, accel_path, sets up an accelerator in accel_group so whenever the key binding that is defined for accel_path is pressed, widget will be activated. This removes any accelerators (for any accelerator group) installed by previous calls to gtk_widget_set_accel_path(). Associating accelerators with paths allows them to be modified by the user and the modifications to be saved for future use. (See gtk_accel_map_save().)

    This function is a low level function that would most likely be used by a menu creation system like #GtkUIManager. If you use #GtkUIManager, setting up accelerator paths will be done automatically.

    Even when you you aren’t using #GtkUIManager, if you only want to set up accelerators on menu items gtk_menu_item_set_accel_path() provides a somewhat more convenient interface.

    Note that accel_path string will be stored in a #GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string().

    Parameters

    Returns void

  • setAcceptsTab(acceptsTab: boolean): void
  • Sets the behavior of the text widget when the Tab key is pressed. If accepts_tab is %TRUE, a tab character is inserted. If accepts_tab is %FALSE the keyboard focus is moved to the next widget in the focus chain.

    Parameters

    • acceptsTab: boolean

    Returns void

  • Sets the widget’s allocation. This should not be used directly, but from within a widget’s size_allocate method.

    The allocation set should be the “adjusted” or actual allocation. If you’re implementing a #GtkContainer, you want to use gtk_widget_size_allocate() instead of gtk_widget_set_allocation(). The GtkWidgetClass::adjust_size_allocation virtual method adjusts the allocation inside gtk_widget_size_allocate() to create an adjusted allocation.

    Parameters

    Returns void

  • setAppPaintable(appPaintable: boolean): void
  • Sets whether the application intends to draw on the widget in an #GtkWidget::draw handler.

    This is a hint to the widget and does not affect the behavior of the GTK+ core; many widgets ignore this flag entirely. For widgets that do pay attention to the flag, such as #GtkEventBox and #GtkWindow, the effect is to suppress default themed drawing of the widget's background. (Children of the widget will still be drawn.) The application is then entirely responsible for drawing the widget background.

    Note that the background is still drawn when the widget is mapped.

    Parameters

    • appPaintable: boolean

    Returns void

  • setAutoIndent(enable: boolean): void
  • If %TRUE auto-indentation of text is enabled.

    When Enter is pressed to create a new line, the auto-indentation inserts the same indentation as the previous line. This is not a "smart indentation" where an indentation level is added or removed depending on the context.

    Parameters

    • enable: boolean

    Returns void

  • setBorderWidth(borderWidth: number): void
  • Sets the border width of the container.

    The border width of a container is the amount of space to leave around the outside of the container. The only exception to this is #GtkWindow; because toplevel windows can’t leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, use a specific #GtkWidget:margin property on the child widget, for example #GtkWidget:margin-top.

    Parameters

    • borderWidth: number

    Returns void

  • Sets the width of %GTK_TEXT_WINDOW_LEFT or %GTK_TEXT_WINDOW_RIGHT, or the height of %GTK_TEXT_WINDOW_TOP or %GTK_TEXT_WINDOW_BOTTOM. Automatically destroys the corresponding window if the size is set to 0, and creates the window if the size is set to non-zero. This function can only be used for the “border windows”, and it won’t work with %GTK_TEXT_WINDOW_WIDGET, %GTK_TEXT_WINDOW_TEXT, or %GTK_TEXT_WINDOW_PRIVATE.

    Parameters

    Returns void

  • setBottomMargin(bottomMargin: number): void
  • Sets the bottom margin for text in text_view.

    Note that this function is confusingly named. In CSS terms, the value set here is padding.

    Parameters

    • bottomMargin: number

    Returns void

  • Sets buffer as the buffer being displayed by text_view. The previous buffer displayed by the text view is unreferenced, and a reference is added to buffer. If you owned a reference to buffer before passing it to this function, you must remove that reference yourself; #GtkTextView will not “adopt” it.

    Parameters

    Returns void

  • setBuildableProperty(builder: Gtk.Builder, name: string, value: any): void
  • Sets the property name name to value on the buildable object.

    Parameters

    Returns void

  • setCanDefault(canDefault: boolean): void
  • Specifies whether widget can be a default widget. See gtk_widget_grab_default() for details about the meaning of “default”.

    Parameters

    • canDefault: boolean

    Returns void

  • setCanFocus(canFocus: boolean): void
  • Specifies whether widget can own the input focus. See gtk_widget_grab_focus() for actually setting the input focus on a widget.

    Parameters

    • canFocus: boolean

    Returns void

  • setChildVisible(isVisible: boolean): void
  • Sets whether widget should be mapped along with its when its parent is mapped and widget has been shown with gtk_widget_show().

    The child visibility can be set for widget before it is added to a container with gtk_widget_set_parent(), to avoid mapping children unnecessary before immediately unmapping them. However it will be reset to its default state of %TRUE when the widget is removed from a container.

    Note that changing the child visibility of a widget does not queue a resize on the widget. Most of the time, the size of a widget is computed from all visible children, whether or not they are mapped. If this is not the case, the container can queue a resize itself.

    This function is only useful for container implementations and never should be called by an application.

    Parameters

    • isVisible: boolean

    Returns void

  • Sets the widget’s clip. This must not be used directly, but from within a widget’s size_allocate method. It must be called after gtk_widget_set_allocation() (or after chaining up to the parent class), because that function resets the clip.

    The clip set should be the area that widget draws on. If widget is a #GtkContainer, the area must contain all children's clips.

    If this function is not called by widget during a ::size-allocate handler, the clip will be set to widget's allocation.

    Parameters

    Returns void

  • setCompositeName(name: string): void
  • Sets a widgets composite name. The widget must be a composite child of its parent; see gtk_widget_push_composite_child().

    Parameters

    • name: string

    Returns void

  • setCount(count: number): void
  • setCursorVisible(setting: boolean): void
  • Toggles whether the insertion point should be displayed. A buffer with no editable text probably shouldn’t have a visible cursor, so you may want to turn the cursor off.

    Note that this property may be overridden by the #GtkSettings:gtk-keynave-use-caret settings.

    Parameters

    • setting: boolean

    Returns void

  • setData(key: string, data?: object): void
  • Each object carries around a table of associations from strings to pointers. This function lets you set an association.

    If the object already had an association with that name, the old association will be destroyed.

    Internally, the key is converted to a #GQuark using g_quark_from_string(). This means a copy of key is kept permanently (even after object has been finalized) — so it is recommended to only use a small, bounded set of values for key in your program, to avoid the #GQuark storage growing unbounded.

    Parameters

    • key: string
    • Optional data: object

    Returns void

  • setDeviceEnabled(device: Gdk.Device, enabled: boolean): void
  • Enables or disables a #GdkDevice to interact with widget and all its children.

    It does so by descending through the #GdkWindow hierarchy and enabling the same mask that is has for core events (i.e. the one that gdk_window_get_events() returns).

    Parameters

    Returns void

  • Sets the device event mask (see #GdkEventMask) for a widget. The event mask determines which events a widget will receive from device. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a widget’s functionality, so be careful. This function must be called while a widget is unrealized. Consider gtk_widget_add_device_events() for widgets that are already realized, or if you want to preserve the existing event mask. This function can’t be used with windowless widgets (which return %FALSE from gtk_widget_get_has_window()); to get events on those widgets, place them inside a #GtkEventBox and receive events on the event box.

    Parameters

    Returns void

  • Sets the reading direction on a particular widget. This direction controls the primary direction for widgets containing text, and also the direction in which the children of a container are packed. The ability to set the direction is present in order so that correct localization into languages with right-to-left reading directions can be done. Generally, applications will let the default reading direction present, except for containers where the containers are arranged in an order that is explicitly visual rather than logical (such as buttons for text justification).

    If the direction is set to %GTK_TEXT_DIR_NONE, then the value set by gtk_widget_set_default_direction() will be used.

    Parameters

    Returns void

  • setDoubleBuffered(doubleBuffered: boolean): void
  • Widgets are double buffered by default; you can use this function to turn off the buffering. “Double buffered” simply means that gdk_window_begin_draw_frame() and gdk_window_end_draw_frame() are called automatically around expose events sent to the widget. gdk_window_begin_draw_frame() diverts all drawing to a widget's window to an offscreen buffer, and gdk_window_end_draw_frame() draws the buffer to the screen. The result is that users see the window update in one smooth step, and don’t see individual graphics primitives being rendered.

    In very simple terms, double buffered widgets don’t flicker, so you would only use this function to turn off double buffering if you had special needs and really knew what you were doing.

    Note: if you turn off double-buffering, you have to handle expose events, since even the clearing to the background color or pixmap will not happen automatically (as it is done in gdk_window_begin_draw_frame()).

    In 3.10 GTK and GDK have been restructured for translucent drawing. Since then expose events for double-buffered widgets are culled into a single event to the toplevel GDK window. If you now unset double buffering, you will cause a separate rendering pass for every widget. This will likely cause rendering problems - in particular related to stacking - and usually increases rendering times significantly.

    Parameters

    • doubleBuffered: boolean

    Returns void

  • Set if and how the spaces should be visualized. Specifying flags as 0 will disable display of spaces.

    For a finer-grained method, there is also the GtkSourceTag's #GtkSourceTag:draw-spaces property.

    Parameters

    Returns void

  • setEditable(setting: boolean): void
  • Sets the default editability of the #GtkTextView. You can override this default setting with tags in the buffer, using the “editable” attribute of tags.

    Parameters

    • setting: boolean

    Returns void

  • setEnableWordCompletion(enableWordCopletion: boolean): void
  • setEvents(events: number): void
  • Sets the event mask (see #GdkEventMask) for a widget. The event mask determines which events a widget will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt a widget’s functionality, so be careful. This function must be called while a widget is unrealized. Consider gtk_widget_add_events() for widgets that are already realized, or if you want to preserve the existing event mask. This function can’t be used with widgets that have no window. (See gtk_widget_get_has_window()). To get events on those widgets, place them inside a #GtkEventBox and receive events on the event box.

    Parameters

    • events: number

    Returns void

  • setFocusChain(focusableWidgets: Gtk.Widget[]): void
  • Sets a focus chain, overriding the one computed automatically by GTK+.

    In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it’s allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn’t always packed. The necessary checks are done when the focus chain is actually traversed.

    Parameters

    Returns void

  • Sets, or unsets if child is %NULL, the focused child of container.

    This function emits the GtkContainer::set_focus_child signal of container. Implementations of #GtkContainer can override the default behaviour by overriding the class closure of this signal.

    This is function is mostly meant to be used by widgets. Applications can use gtk_widget_grab_focus() to manually set the focus to a specific widget.

    Parameters

    Returns void

  • Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the horizontal alignment. See gtk_scrolled_window_get_hadjustment() for a typical way of obtaining the adjustment and gtk_container_set_focus_vadjustment() for setting the vertical adjustment.

    The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.

    Parameters

    Returns void

  • setFocusOnClick(focusOnClick: boolean): void
  • Sets whether the widget should grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don’t want the keyboard focus removed from the main area of the application.

    Parameters

    • focusOnClick: boolean

    Returns void

  • Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the vertical alignment. See gtk_scrolled_window_get_vadjustment() for a typical way of obtaining the adjustment and gtk_container_set_focus_hadjustment() for setting the horizontal adjustment.

    The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.

    Parameters

    Returns void

  • Sets the font map to use for Pango rendering. When not set, the widget will inherit the font map from its parent.

    Parameters

    Returns void

  • setFontName(fontName: string): void
  • Sets the #cairo_font_options_t used for Pango rendering in this widget. When not set, the default font options for the #GdkScreen will be used.

    Parameters

    Returns void

  • Sets the horizontal alignment of widget. See the #GtkWidget:halign property.

    Parameters

    Returns void

  • setHasTooltip(hasTooltip: boolean): void
  • Sets the has-tooltip property on widget to has_tooltip. See #GtkWidget:has-tooltip for more information.

    Parameters

    • hasTooltip: boolean

    Returns void

  • setHasWindow(hasWindow: boolean): void
  • Specifies whether widget has a #GdkWindow of its own. Note that all realized widgets have a non-%NULL “window” pointer (gtk_widget_get_window() never returns a %NULL window when a widget is realized), but for many of them it’s actually the #GdkWindow of one of its parent widgets. Widgets that do not create a %window for themselves in #GtkWidget::realize must announce this by calling this function with has_window = %FALSE.

    This function should only be called by widget implementations, and they should call it in their init() function.

    Parameters

    • hasWindow: boolean

    Returns void

  • setHexpand(expand: boolean): void
  • Sets whether the widget would like any available extra horizontal space. When a user resizes a #GtkWindow, widgets with expand=TRUE generally receive the extra space. For example, a list or scrollable area or document in your window would often be set to expand.

    Call this function to set the expand flag if you would like your widget to become larger horizontally when the window has extra room.

    By default, widgets automatically expand if any of their children want to expand. (To see if a widget will automatically expand given its current children and state, call gtk_widget_compute_expand(). A container can decide how the expandability of children affects the expansion of the container by overriding the compute_expand virtual method on #GtkWidget.).

    Setting hexpand explicitly with this function will override the automatic expand behavior.

    This function forces the widget to expand or not to expand, regardless of children. The override occurs because gtk_widget_set_hexpand() sets the hexpand-set property (see gtk_widget_set_hexpand_set()) which causes the widget’s hexpand value to be used, rather than looking at children and widget state.

    Parameters

    • expand: boolean

    Returns void

  • setHexpandSet(set: boolean): void
  • Sets whether the hexpand flag (see gtk_widget_get_hexpand()) will be used.

    The hexpand-set property will be set automatically when you call gtk_widget_set_hexpand() to set hexpand, so the most likely reason to use this function would be to unset an explicit expand flag.

    If hexpand is set, then it overrides any computed expand value based on child widgets. If hexpand is not set, then the expand value depends on whether any children of the widget would like to expand.

    There are few reasons to use this function, but it’s here for completeness and consistency.

    Parameters

    • set: boolean

    Returns void

  • setHighlightCurrentLine(highlightCurrentLine: boolean): void
  • setHighlightCurrentLine(highlight: boolean): void
  • If highlight is %TRUE the current line will be highlighted.

    Parameters

    • highlightCurrentLine: boolean

    Returns void

  • If highlight is %TRUE the current line will be highlighted.

    Parameters

    • highlight: boolean

    Returns void

  • Sets the #GtkScrollablePolicy to determine whether horizontal scrolling should start below the minimum width or below the natural width.

    Parameters

    Returns void

  • setIndent(indent: number): void
  • Sets the default indentation for paragraphs in text_view. Tags in the buffer may override the default.

    Parameters

    • indent: number

    Returns void

  • setIndentOnTab(enable: boolean): void
  • If %TRUE, when the tab key is pressed when several lines are selected, the selected lines are indented of one level instead of being replaced with a \t character. Shift+Tab unindents the selection.

    If the first or last line is not selected completely, it is also indented or unindented.

    When the selection doesn't span several lines, the tab key always replaces the selection with a normal \t character.

    Parameters

    • enable: boolean

    Returns void

  • setIndentWidth(width: number): void
  • Sets the number of spaces to use for each step of indent when the tab key is pressed. If width is -1, the value of the #GtkSourceView:tab-width property will be used.

    The #GtkSourceView:indent-width interacts with the #GtkSourceView:insert-spaces-instead-of-tabs property and #GtkSourceView:tab-width. An example will be clearer: if the #GtkSourceView:indent-width is 4 and #GtkSourceView:tab-width is 8 and #GtkSourceView:insert-spaces-instead-of-tabs is %FALSE, then pressing the tab key at the beginning of a line will insert 4 spaces. So far so good. Pressing the tab key a second time will remove the 4 spaces and insert a \t character instead (since #GtkSourceView:tab-width is 8). On the other hand, if #GtkSourceView:insert-spaces-instead-of-tabs is %TRUE, the second tab key pressed will insert 4 more spaces for a total of 8 spaces in the #GtkTextBuffer.

    The test-widget program (available in the GtkSourceView repository) may be useful to better understand the indentation settings (enable the space drawing!).

    Parameters

    • width: number

    Returns void

  • Sets the #GtkTextView:input-hints property, which allows input methods to fine-tune their behaviour.

    Parameters

    Returns void

  • Sets the #GtkTextView:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.

    Parameters

    Returns void

  • setInsertMatchingBrace(insertMatchingBrace: boolean): void
  • setInsertSpacesInsteadOfTabs(enable: boolean): void
  • If %TRUE a tab key pressed is replaced by a group of space characters. Of course it is still possible to insert a real \t programmatically with the #GtkTextBuffer API.

    Parameters

    • enable: boolean

    Returns void

  • Sets the default justification of text in text_view. Tags in the view’s buffer may override the default.

    Parameters

    Returns void

  • setLeftMargin(leftMargin: number): void
  • Sets the default left margin for text in text_view. Tags in the buffer may override the default.

    Note that this function is confusingly named. In CSS terms, the value set here is padding.

    Parameters

    • leftMargin: number

    Returns void

  • setMapped(mapped: boolean): void
  • Marks the widget as being mapped.

    This function should only ever be called in a derived widget's “map” or “unmap” implementation.

    Parameters

    • mapped: boolean

    Returns void

  • setMarginBottom(margin: number): void
  • Sets the bottom margin of widget. See the #GtkWidget:margin-bottom property.

    Parameters

    • margin: number

    Returns void

  • setMarginEnd(margin: number): void
  • Sets the end margin of widget. See the #GtkWidget:margin-end property.

    Parameters

    • margin: number

    Returns void

  • setMarginLeft(margin: number): void
  • Sets the left margin of widget. See the #GtkWidget:margin-left property.

    Parameters

    • margin: number

    Returns void

  • setMarginRight(margin: number): void
  • Sets the right margin of widget. See the #GtkWidget:margin-right property.

    Parameters

    • margin: number

    Returns void

  • setMarginStart(margin: number): void
  • Sets the start margin of widget. See the #GtkWidget:margin-start property.

    Parameters

    • margin: number

    Returns void

  • setMarginTop(margin: number): void
  • Sets the top margin of widget. See the #GtkWidget:margin-top property.

    Parameters

    • margin: number

    Returns void

  • setMonospace(monospace: boolean): void
  • Sets the #GtkTextView:monospace property, which indicates that the text view should use monospace fonts.

    Parameters

    • monospace: boolean

    Returns void

  • setName(name: string): void
  • setName(name: string): void
  • Widgets can be named, which allows you to refer to them from a CSS file. You can apply a style to widgets with a particular name in the CSS file. See the documentation for the CSS syntax (on the same page as the docs for #GtkStyleContext).

    Note that the CSS syntax has certain special characters to delimit and represent elements in a selector (period, #, >, *...), so using these will make your widget impossible to match by name. Any combination of alphanumeric symbols, dashes and underscores will suffice.

    Parameters

    • name: string

    Returns void

  • Sets the name of the buildable object.

    Parameters

    • name: string

    Returns void

  • setNoShowAll(noShowAll: boolean): void
  • Sets the #GtkWidget:no-show-all property, which determines whether calls to gtk_widget_show_all() will affect this widget.

    This is mostly for use in constructing widget hierarchies with externally controlled visibility, see #GtkUIManager.

    Parameters

    • noShowAll: boolean

    Returns void

  • setOpacity(opacity: number): void
  • Request the widget to be rendered partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Opacity values are clamped to the [0,1] range.). This works on both toplevel widget, and child widgets, although there are some limitations:

    For toplevel widgets this depends on the capabilities of the windowing system. On X11 this has any effect only on X screens with a compositing manager running. See gtk_widget_is_composited(). On Windows it should work always, although setting a window’s opacity after the window has been shown causes it to flicker once on Windows.

    For child widgets it doesn’t work if any affected widget has a native window, or disables double buffering.

    Parameters

    • opacity: number

    Returns void

  • setOverwrite(overwrite: boolean): void
  • Changes the #GtkTextView overwrite mode.

    Parameters

    • overwrite: boolean

    Returns void

  • setOverwriteBraces(overwriteBraces: boolean): void
  • This function is useful only when implementing subclasses of #GtkContainer. Sets the container as the parent of widget, and takes care of some details such as updating the state and style of the child to reflect its new location. The opposite function is gtk_widget_unparent().

    Parameters

    Returns void

  • setParentWindow(parentWindow: Gdk.Window): void
  • Sets a non default parent window for widget.

    For #GtkWindow classes, setting a parent_window effects whether the window is a toplevel window or can be embedded into other widgets.

    For #GtkWindow classes, this needs to be called before the window is realized.

    Parameters

    Returns void

  • setPixelsAboveLines(pixelsAboveLines: number): void
  • Sets the default number of blank pixels above paragraphs in text_view. Tags in the buffer for text_view may override the defaults.

    Parameters

    • pixelsAboveLines: number

    Returns void

  • setPixelsBelowLines(pixelsBelowLines: number): void
  • Sets the default number of pixels of blank space to put below paragraphs in text_view. May be overridden by tags applied to text_view’s buffer.

    Parameters

    • pixelsBelowLines: number

    Returns void

  • setPixelsInsideWrap(pixelsInsideWrap: number): void
  • Sets the default number of pixels of blank space to leave between display/wrapped lines within a paragraph. May be overridden by tags in text_view’s buffer.

    Parameters

    • pixelsInsideWrap: number

    Returns void

  • setProperty(propertyName: string, value: any): void
  • Sets a property on an object.

    Parameters

    • propertyName: string
    • value: any

    Returns void

  • setRealized(realized: boolean): void
  • Marks the widget as being realized. This function must only be called after all #GdkWindows for the widget have been created and registered.

    This function should only ever be called in a derived widget's “realize” or “unrealize” implementation.

    Parameters

    • realized: boolean

    Returns void

  • setReallocateRedraws(needsRedraws: boolean): void
  • Sets the reallocate_redraws flag of the container to the given value.

    Containers requesting reallocation redraws get automatically redrawn if any of their children changed allocation.

    Parameters

    • needsRedraws: boolean

    Returns void

  • setReceivesDefault(receivesDefault: boolean): void
  • Specifies whether widget will be treated as the default widget within its toplevel when it has the focus, even if another widget is the default.

    See gtk_widget_grab_default() for details about the meaning of “default”.

    Parameters

    • receivesDefault: boolean

    Returns void

  • setRedrawOnAllocate(redrawOnAllocate: boolean): void
  • Sets whether the entire widget is queued for drawing when its size allocation changes. By default, this setting is %TRUE and the entire widget is redrawn on every size change. If your widget leaves the upper left unchanged when made bigger, turning this setting off will improve performance.

    Note that for widgets where gtk_widget_get_has_window() is %FALSE setting this flag to %FALSE turns off all allocation on resizing: the widget will not even redraw if its position changes; this is to allow containers that don’t draw anything to avoid excess invalidations. If you set this flag on a widget with no window that does draw on widget->window, you are responsible for invalidating both the old and new allocation of the widget when the widget is moved and responsible for invalidating regions newly when the widget increases size.

    Parameters

    • redrawOnAllocate: boolean

    Returns void

  • Sets the resize mode for the container.

    The resize mode of a container determines whether a resize request will be passed to the container’s parent, queued for later execution or executed immediately.

    Parameters

    Returns void

  • setRightMargin(rightMargin: number): void
  • Sets the default right margin for text in the text view. Tags in the buffer may override the default.

    Note that this function is confusingly named. In CSS terms, the value set here is padding.

    Parameters

    • rightMargin: number

    Returns void

  • setRightMarginPosition(pos: number): void
  • Sets the position of the right margin in the given view.

    Parameters

    • pos: number

    Returns void

  • setRubberbandSearch(rubberbandSearch: boolean): void
  • setScrollOffset(scrollOffset: number): void
  • Sets the #IdeSourceView:scroll-offset property. See ide_source_view_get_scroll_offset() for more information. Set to 0 to unset this property.

    Parameters

    • scrollOffset: number

    Returns void

  • Sets the search direction.

    This can be used to invert the normal search direction so that a forward movement is towards the beginning of the document.

    Parameters

    Returns void

  • setSensitive(sensitive: boolean): void
  • Sets the sensitivity of a widget. A widget is sensitive if the user can interact with it. Insensitive widgets are “grayed out” and the user can’t interact with them. Insensitive widgets are known as “inactive”, “disabled”, or “ghosted” in some other toolkits.

    Parameters

    • sensitive: boolean

    Returns void

  • setShowGridLines(showGridLines: boolean): void
  • setShowLineChanges(showLineChanges: boolean): void
  • setShowLineDiagnostics(showLineChanges: boolean): void
  • setShowLineMarks(show: boolean): void
  • If %TRUE line marks will be displayed beside the text.

    Parameters

    • show: boolean

    Returns void

  • setShowLineNumbers(show: boolean): void
  • If %TRUE line numbers will be displayed beside the text.

    Parameters

    • show: boolean

    Returns void

  • setShowRightMargin(show: boolean): void
  • If %TRUE a right margin is displayed.

    Parameters

    • show: boolean

    Returns void

  • setShowSearchBubbles(showSearchBubbles: boolean): void
  • setShowSearchShadow(showSearchBubbles: boolean): void
  • setSizeRequest(width: number, height: number): void
  • Sets the minimum size of a widget; that is, the widget’s size request will be at least width by height. You can use this function to force a widget to be larger than it normally would be.

    In most cases, gtk_window_set_default_size() is a better choice for toplevel windows than this function; setting the default size will still allow users to shrink the window. Setting the size request will force them to leave the window at least as large as the size request. When dealing with window sizes, gtk_window_set_geometry_hints() can be a useful function as well.

    Note the inherent danger of setting any fixed size - themes, translations into other languages, different fonts, and user action can all change the appropriate size for a given widget. So, it's basically impossible to hardcode a size that will always be correct.

    The size request of a widget is the smallest size a widget can accept while still functioning well and drawing itself correctly. However in some strange cases a widget may be allocated less than its requested size, and in many cases a widget may be allocated more space than it requested.

    If the size request in a given direction is -1 (unset), then the “natural” size request of the widget will be used instead.

    The size request set here does not include any margin from the #GtkWidget properties margin-left, margin-right, margin-top, and margin-bottom, but it does include pretty much all other padding or border properties set by any subclass of #GtkWidget.

    Parameters

    • width: number
    • height: number

    Returns void

  • setSmartBackspace(smartBackspace: boolean): void
  • When set to %TRUE, pressing the Backspace key will try to delete spaces up to the previous tab stop.

    Parameters

    • smartBackspace: boolean

    Returns void

  • setSnippetCompletion(snippetCompletion: boolean): void
  • Sets the #IdeSourceView:snippet-completion property. By setting this property to %TRUE, snippets will be loaded for the currently activated source code language. See #IdeSourceSnippet for more information on what can be provided via a snippet.

    See also: ide_source_view_get_snippet_completion()

    Parameters

    • snippetCompletion: boolean

    Returns void

  • setSpellChecking(enable: boolean): void
  • This function is for use in widget implementations. Sets the state of a widget (insensitive, prelighted, etc.) Usually you should set the state using wrapper functions such as gtk_widget_set_sensitive().

    Parameters

    Returns void

  • This function is for use in widget implementations. Turns on flag values in the current widget state (insensitive, prelighted, etc.).

    This function accepts the values %GTK_STATE_FLAG_DIR_LTR and %GTK_STATE_FLAG_DIR_RTL but ignores them. If you want to set the widget's direction, use gtk_widget_set_direction().

    It is worth mentioning that any other state than %GTK_STATE_FLAG_INSENSITIVE, will be propagated down to all non-internal children if widget is a #GtkContainer, while %GTK_STATE_FLAG_INSENSITIVE itself will be propagated down to all #GtkContainer children by different means than turning on the state flag down the hierarchy, both gtk_widget_get_state_flags() and gtk_widget_is_sensitive() will make use of these.

    Parameters

    Returns void

  • Used to set the #GtkStyle for a widget (widget->style). Since GTK 3, this function does nothing, the passed in style is ignored.

    Parameters

    Returns void

  • setSupportMultidevice(supportMultidevice: boolean): void
  • Enables or disables multiple pointer awareness. If this setting is %TRUE, widget will start receiving multiple, per device enter/leave events. Note that if custom #GdkWindows are created in #GtkWidget::realize, gdk_window_set_support_multidevice() will have to be called manually on them.

    Parameters

    • supportMultidevice: boolean

    Returns void

  • setTabWidth(width: number): void
  • Sets the width of tabulation in characters. The #GtkTextBuffer still contains \t characters, but they can take a different visual width in a #GtkSourceView widget.

    Parameters

    • width: number

    Returns void

  • Sets the default tab stops for paragraphs in text_view. Tags in the buffer may override the default.

    Parameters

    Returns void

  • setTooltipMarkup(markup?: string): void
  • Sets markup as the contents of the tooltip, which is marked up with the [Pango text markup language][PangoMarkupFormat].

    This function will take care of setting #GtkWidget:has-tooltip to %TRUE and of the default handler for the #GtkWidget::query-tooltip signal.

    See also the #GtkWidget:tooltip-markup property and gtk_tooltip_set_markup().

    Parameters

    • Optional markup: string

    Returns void

  • setTooltipText(text?: string): void
  • Sets text as the contents of the tooltip. This function will take care of setting #GtkWidget:has-tooltip to %TRUE and of the default handler for the #GtkWidget::query-tooltip signal.

    See also the #GtkWidget:tooltip-text property and gtk_tooltip_set_text().

    Parameters

    • Optional text: string

    Returns void

  • setTooltipWindow(customWindow?: Gtk.Window): void
  • Replaces the default window used for displaying tooltips with custom_window. GTK+ will take care of showing and hiding custom_window at the right moment, to behave likewise as the default tooltip window. If custom_window is %NULL, the default tooltip window will be used.

    Parameters

    Returns void

  • setTopMargin(topMargin: number): void
  • Sets the top margin for text in text_view.

    Note that this function is confusingly named. In CSS terms, the value set here is padding.

    Parameters

    • topMargin: number

    Returns void

  • Sets the vertical alignment of widget. See the #GtkWidget:valign property.

    Parameters

    Returns void

  • setVexpand(expand: boolean): void
  • Sets whether the widget would like any available extra vertical space.

    See gtk_widget_set_hexpand() for more detail.

    Parameters

    • expand: boolean

    Returns void

  • setVexpandSet(set: boolean): void
  • Sets whether the vexpand flag (see gtk_widget_get_vexpand()) will be used.

    See gtk_widget_set_hexpand_set() for more detail.

    Parameters

    • set: boolean

    Returns void

  • setVisible(visible: boolean): void
  • Sets the visibility state of widget. Note that setting this to %TRUE doesn’t mean the widget is actually viewable, see gtk_widget_get_visible().

    This function simply calls gtk_widget_show() or gtk_widget_hide() but is nicer to use when the visibility of the widget depends on some condition.

    Parameters

    • visible: boolean

    Returns void

  • Sets the visual that should be used for by widget and its children for creating #GdkWindows. The visual must be on the same #GdkScreen as returned by gtk_widget_get_screen(), so handling the #GtkWidget::screen-changed signal is necessary.

    Setting a new visual will not cause widget to recreate its windows, so you should call this function before widget is realized.

    Parameters

    Returns void

  • Sets the #GtkScrollablePolicy to determine whether vertical scrolling should start below the minimum height or below the natural height.

    Parameters

    Returns void

  • Sets a widget’s window. This function should only be used in a widget’s #GtkWidget::realize implementation. The %window passed is usually either new window created with gdk_window_new(), or the window of its parent widget as returned by gtk_widget_get_parent_window().

    Widgets must indicate whether they will create their own #GdkWindow by calling gtk_widget_set_has_window(). This is usually done in the widget’s init() function.

    Note that this function does not add any reference to window.

    Parameters

    Returns void

  • Sets a shape for this widget’s GDK window. This allows for transparent windows etc., see gdk_window_shape_combine_region() for more information.

    Parameters

    Returns void

  • show(): void
  • Flags a widget to be displayed. Any widget that isn’t shown will not appear on the screen. If you want to show all the widgets in a container, it’s easier to call gtk_widget_show_all() on the container, instead of individually showing the widgets.

    Remember that you have to show the containers containing a widget, in addition to the widget itself, before it will appear onscreen.

    When a toplevel container is shown, it is immediately realized and mapped; other shown widgets are realized and mapped when their toplevel container is realized and mapped.

    Returns void

  • showAll(): void
  • Recursively shows a widget, and any child widgets (if the widget is a container).

    Returns void

  • showNow(): void
  • Shows a widget. If the widget is an unmapped toplevel widget (i.e. a #GtkWindow that has not yet been shown), enter the main loop and wait for the window to actually be mapped. Be careful; because the main loop is running, anything can happen during this function.

    Returns void

  • This function is only used by #GtkContainer subclasses, to assign a size and position to their child widgets.

    In this function, the allocation may be adjusted. It will be forced to a 1x1 minimum size, and the adjust_size_allocation virtual method on the child will be used to adjust the allocation. Standard adjustments include removing the widget’s margins, and applying the widget’s #GtkWidget:halign and #GtkWidget:valign properties.

    For baseline support in containers you need to use gtk_widget_size_allocate_with_baseline() instead.

    Parameters

    Returns void

  • sizeAllocateWithBaseline(allocation: Gdk.Rectangle, baseline: number): void
  • This function is only used by #GtkContainer subclasses, to assign a size, position and (optionally) baseline to their child widgets.

    In this function, the allocation and baseline may be adjusted. It will be forced to a 1x1 minimum size, and the adjust_size_allocation virtual and adjust_baseline_allocation methods on the child will be used to adjust the allocation and baseline. Standard adjustments include removing the widget's margins, and applying the widget’s #GtkWidget:halign and #GtkWidget:valign properties.

    If the child widget does not have a valign of %GTK_ALIGN_BASELINE the baseline argument is ignored and -1 is used instead.

    Parameters

    Returns void

  • This function is typically used when implementing a #GtkContainer subclass. Obtains the preferred size of a widget. The container uses this information to arrange its child widgets and decide what size allocations to give them with gtk_widget_size_allocate().

    You can also call this function from an application, with some caveats. Most notably, getting a size request requires the widget to be associated with a screen, because font information may be needed. Multihead-aware applications should keep this in mind.

    Also remember that the size request is not necessarily the size a widget will actually be allocated.

    Returns Gtk.Requisition

  • Determines whether iter is at the start of a display line. See gtk_text_view_forward_display_line() for an explanation of display lines vs. paragraphs.

    Parameters

    Returns boolean

  • stealData(key: string): object
  • Remove a specified datum from the object's data associations, without invoking the association's destroy handler.

    Parameters

    • key: string

    Returns object

  • stealQdata(quark: number): object
  • This function gets back user data pointers stored via g_object_set_qdata() and removes the data from object without invoking its destroy() function (if any was set). Usually, calling this function is only required to update user data pointers with a destroy notifier, for example:

    void
    object_add_to_user_list (GObject *object,
    const gchar *new_string)
    {
    // the quark, naming the object data
    GQuark quark_string_list = g_quark_from_static_string ("my-string-list");
    // retrieve the old string list
    GList *list = g_object_steal_qdata (object, quark_string_list);

    // prepend new string
    list = g_list_prepend (list, g_strdup (new_string));
    // this changed 'list', so we need to set it again
    g_object_set_qdata_full (object, quark_string_list, list, free_string_list);
    }
    static void
    free_string_list (gpointer data)
    {
    GList *node, *list = data;

    for (node = list; node; node = node->next)
    g_free (node->data);
    g_list_free (list);
    }

    Using g_object_get_qdata() in the above example, instead of g_object_steal_qdata() would have left the destroy function set, and thus the partial string list would have been freed upon g_object_set_qdata_full().

    Parameters

    • quark: number

    Returns object

  • styleAttach(): void
  • This function attaches the widget’s #GtkStyle to the widget's #GdkWindow. It is a replacement for

    |[ widget->style = gtk_style_attach (widget->style, widget->window);



    and should only ever be called in a derived widgetsrealize
    implementation which does not chain up to its parent class'
    “realize” implementation, because one of the parent classes
    (finally #GtkWidget) would attach the style itself.

    Returns void

  • styleGetProperty(propertyName: string, value: any): void
  • Gets the value of a style property of widget.

    Parameters

    • propertyName: string
    • value: any

    Returns void

  • thawChildNotify(): void
  • Reverts the effect of a previous call to gtk_widget_freeze_child_notify(). This causes all queued #GtkWidget::child-notify signals on widget to be emitted.

    Returns void

  • thawNotify(): void
  • Reverts the effect of a previous call to g_object_freeze_notify(). The freeze count is decreased on object and when it reaches zero, queued "notify" signals are emitted.

    Duplicate notifications for each property are squashed so that at most one #GObject::notify signal is emitted for each property, in the reverse order in which they have been queued.

    It is an error to call this function when the freeze count is zero.

    Returns void

  • translateCoordinates(destWidget: Gtk.Widget, srcX: number, srcY: number): [boolean, number, number]
  • Translate coordinates relative to src_widget’s allocation to coordinates relative to dest_widget’s allocations. In order to perform this operation, both widgets must be realized, and must share a common toplevel.

    Parameters

    • destWidget: Gtk.Widget
    • srcX: number
    • srcY: number

    Returns [boolean, number, number]

  • triggerTooltipQuery(): void
  • Triggers a tooltip query on the display where the toplevel of widget is located. See gtk_tooltip_trigger_tooltip_query() for more information.

    Returns void

  • unmap(): void
  • This function is only for use in widget implementations. Causes a widget to be unmapped if it’s currently mapped.

    Returns void

  • unparent(): void
  • This function is only for use in widget implementations. Should be called by implementations of the remove method on #GtkContainer, to dissociate a child from the container.

    Returns void

  • unrealize(): void
  • This function is only useful in widget implementations. Causes a widget to be unrealized (frees all GDK resources associated with the widget, such as widget->window).

    Returns void

  • unref(): void
  • Decreases the reference count of object. When its reference count drops to 0, the object is finalized (i.e. its memory is freed).

    If the pointer to the #GObject may be reused in future (for example, if it is an instance variable of another object), it is recommended to clear the pointer to %NULL rather than retain a dangling pointer to a potentially invalid #GObject instance. Use g_clear_object() for this.

    Returns void

  • Unregisters a #GdkWindow from the widget that was previously set up with gtk_widget_register_window(). You need to call this when the window is no longer used by the widget, such as when you destroy it.

    Parameters

    Returns void

  • unsetFocusChain(): void
  • Removes a focus chain explicitly set with gtk_container_set_focus_chain().

    Returns void

  • This function is for use in widget implementations. Turns off flag values for the current widget state (insensitive, prelighted, etc.). See gtk_widget_set_state_flags().

    Parameters

    Returns void

  • watchClosure(closure: Function): void
  • This function essentially limits the life time of the closure to the life time of the object. That is, when the object is finalized, the closure is invalidated by calling g_closure_invalidate() on it, in order to prevent invocations of the closure with a finalized (nonexisting) object. Also, g_object_ref() and g_object_unref() are added as marshal guards to the closure, to ensure that an extra reference count is held on object during invocation of the closure. Usually, this function will be called on closures that use this object as closure data.

    Parameters

    • closure: Function

    Returns void

  • windowToBufferCoords(win: Gtk.TextWindowType, windowX: number, windowY: number): [number, number]
  • Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer_x,``buffer_y).

    Note that you can’t convert coordinates for a nonexisting window (see gtk_text_view_set_border_window_size()).

    Parameters

    Returns [number, number]